X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Flyxstring.C;h=35db7f9d28749d63296c42ad0a218a6eca1130c6;hb=bf6257967e48709d375d5b8aa1cdd66c7f7bc25a;hp=e9190cde02b4062b32c7fe06c7f2655b6ba11f6e;hpb=bdba99dcf94c7e12f34add5050416fd7632650a6;p=features.git diff --git a/src/support/lyxstring.C b/src/support/lyxstring.C index e9190cde02..35db7f9d28 100644 --- a/src/support/lyxstring.C +++ b/src/support/lyxstring.C @@ -304,6 +304,10 @@ void lyxstring::Srep::replace(lyxstring::size_type i, lyxstring::size_type n, /////////////////////////////////////// // The lyxstring Invariant tester /////////////////////////////////////// + +// There are no know bugs in lyxstring now, and it have been +// tested for a long time. so we disable the invariant checker. (Lgb) +#undef ENABLE_ASSERTIONS #ifdef ENABLE_ASSERTIONS /** Testing of the lyxstring invariant