summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Base/LogSerializers.h')
-rw-r--r--Swiften/Base/LogSerializers.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Swiften/Base/LogSerializers.h b/Swiften/Base/LogSerializers.h
index 3d60426..be992bb 100644
--- a/Swiften/Base/LogSerializers.h
+++ b/Swiften/Base/LogSerializers.h
@@ -11,6 +11,8 @@
#include <string>
#include <vector>
+#include <boost/optional.hpp>
+
namespace Swift {
class Presence;
@@ -45,3 +47,6 @@ std::ostream& operator<<(std::ostream& stream, const std::vector<T>& vec) {
std::ostream& operator<<(std::ostream& stream, const Presence& presence);
};
+
+::std::ostream& operator<<(::std::ostream& os, const boost::optional<std::string>& optStr);
+