diff options
author | Richard Maudsley <richard.maudsley@isode.com> | 2014-05-07 07:33:49 (GMT) |
---|---|---|
committer | Richard Maudsley <richard.maudsley@isode.com> | 2014-05-09 10:27:55 (GMT) |
commit | 6db4b8979b4a7ca72305266a464c571fb648358b (patch) | |
tree | 88e9743b97220d2ab20d964c44143e0c76d74c3c /Sluift/ElementConvertors/MessageConvertor.cpp | |
parent | 47ba7eb4a5d3a48f4aa554ff07d20cc7c8682bae (diff) | |
download | swift-6db4b8979b4a7ca72305266a464c571fb648358b.zip swift-6db4b8979b4a7ca72305266a464c571fb648358b.tar.bz2 |
Fix compiler warnings in Sluift convertors.
Change-Id: I26a212dcf17af79696c0446a88fb2272e890f007
Diffstat (limited to 'Sluift/ElementConvertors/MessageConvertor.cpp')
-rw-r--r-- | Sluift/ElementConvertors/MessageConvertor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Sluift/ElementConvertors/MessageConvertor.cpp b/Sluift/ElementConvertors/MessageConvertor.cpp index 9994bd0..0bc7fbb 100644 --- a/Sluift/ElementConvertors/MessageConvertor.cpp +++ b/Sluift/ElementConvertors/MessageConvertor.cpp @@ -58,6 +58,8 @@ std::string MessageConvertor::convertMessageTypeToString(Message::Type type) { case Message::Groupchat: return "groupchat"; case Message::Headline: return "headline"; } + assert(false); + return ""; } Message::Type MessageConvertor::convertMessageTypeFromString(const std::string& type) { |