diff options
Diffstat (limited to 'Swiften/IDN/IDNConverter.h')
-rw-r--r-- | Swiften/IDN/IDNConverter.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Swiften/IDN/IDNConverter.h b/Swiften/IDN/IDNConverter.h index c55d969..f6974bc 100644 --- a/Swiften/IDN/IDNConverter.h +++ b/Swiften/IDN/IDNConverter.h @@ -10,4 +10,5 @@ #include <Swiften/Base/API.h> #include <Swiften/Base/SafeByteArray.h> +#include <boost/optional.hpp> namespace Swift { @@ -27,5 +28,5 @@ namespace Swift { // Thread-safe - virtual std::string getIDNAEncoded(const std::string& s) = 0; + virtual boost::optional<std::string> getIDNAEncoded(const std::string& s) = 0; }; } |