Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/coding
diff options
context:
space:
mode:
authorSergey Magidovich <mgsergio@mapswithme.com>2016-01-20 12:58:43 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:14:21 +0300
commit9338907ae8f945fcdea04ce9d4dd958c2e7f7345 (patch)
tree94d3f82a1c86464dd54e32ea6801f31bae21d197 /coding
parentf411a6b7f88ef766b330174b56e0d4687a806869 (diff)
Don not save feature if it wasn't edited.
Diffstat (limited to 'coding')
-rw-r--r--coding/multilang_utf8_string.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/coding/multilang_utf8_string.hpp b/coding/multilang_utf8_string.hpp
index 7fe6f8ff3e..fa8c1216d9 100644
--- a/coding/multilang_utf8_string.hpp
+++ b/coding/multilang_utf8_string.hpp
@@ -52,6 +52,11 @@ public:
return (m_s == rhs.m_s);
}
+ inline bool operator!= (StringUtf8Multilang const & rhs) const
+ {
+ return !(*this == rhs);
+ }
+
inline void Clear() { m_s.clear(); }
inline bool IsEmpty() const { return m_s.empty(); }