X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2FTranslator.h;h=92c32268139517a408c771ce4d5502bf490e1a8b;hb=f3ff5e083a6e89861db5fce9eea4532504f8341d;hp=1469c1e6825e0eaa89c91bc8971d44d8594d6ed8;hpb=ee120bd80808cf8c376d9fe9830c6e269b94837c;p=lyx.git diff --git a/src/support/Translator.h b/src/support/Translator.h index 1469c1e682..92c3226813 100644 --- a/src/support/Translator.h +++ b/src/support/Translator.h @@ -12,7 +12,7 @@ #ifndef TRANSLATOR_H #define TRANSLATOR_H -#include +#include "support/lassert.h" #include #include @@ -63,7 +63,7 @@ public: /// Find the mapping for the first argument T2 const & find(T1 const & first) const { - BOOST_ASSERT(!map.empty()); + LASSERT(!map.empty(), /**/); const_iterator it = map.begin(); const_iterator end = map.end(); for (; it != end; ++it) @@ -75,7 +75,7 @@ public: /// Find the mapping for the second argument T1 const & find(T2 const & second) const { - BOOST_ASSERT(!map.empty()); + LASSERT(!map.empty(), /**/); const_iterator it = map.begin(); const_iterator end = map.end(); for (; it != end; ++it)