summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-09-11 19:32:42 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-09-11 19:33:21 (GMT)
commit50c339268eea3dcba3f8b8c9c745975b12bbe152 (patch)
tree2b8ab779eb0f1f1c70f11958b23c9627f0406513 /Swiften
parent010cdd3a81f35a377cb93a2f5c9fcc94bac7c855 (diff)
downloadswift-contrib-50c339268eea3dcba3f8b8c9c745975b12bbe152.zip
swift-contrib-50c339268eea3dcba3f8b8c9c745975b12bbe152.tar.bz2
Added missing include.
Diffstat (limited to 'Swiften')
-rw-r--r--Swiften/Serializer/PayloadSerializers/WhiteboardSerializer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Swiften/Serializer/PayloadSerializers/WhiteboardSerializer.cpp b/Swiften/Serializer/PayloadSerializers/WhiteboardSerializer.cpp
index 148f643..2dabac9 100644
--- a/Swiften/Serializer/PayloadSerializers/WhiteboardSerializer.cpp
+++ b/Swiften/Serializer/PayloadSerializers/WhiteboardSerializer.cpp
@@ -6,6 +6,7 @@
#include <Swiften/Serializer/PayloadSerializers/WhiteboardSerializer.h>
+#include <iostream>
#include <boost/smart_ptr/make_shared.hpp>
#include <boost/lexical_cast.hpp>
#include <Swiften/Serializer/XML/XMLTextNode.h>
@@ -196,7 +197,7 @@ namespace Swift {
case WhiteboardPayload::SessionTerminate:
return "session-terminate";
case WhiteboardPayload::UnknownType:
- std::cerr << "Serializing unknown action value." << std::endl;
+ std::cerr << "Warning: Serializing unknown action value." << std::endl;
return "";
}
assert(false);