]> git.lyx.org Git - features.git/commitdiff
findadv: fix compilation issue from [lyxgit/ecc36be6], when using boost instead of...
authorKornel Benko <kornel@lyx.org>
Sun, 16 Apr 2017 17:43:54 +0000 (19:43 +0200)
committerTommaso Cucinotta <tommaso@lyx.org>
Sun, 16 Apr 2017 17:43:54 +0000 (19:43 +0200)
src/lyxfind.cpp

index 9e79d78dbe077fae7bf1a64ecb9d0210a5f75e6f..7f275e3508962d7e9c34fe2eb9d499d7cdf465ad 100644 (file)
@@ -961,7 +961,7 @@ int MatchStringAdv::findAux(DocIterator const & cur, int len, bool at_begin) con
                LYXERR(Debug::FIND, "Searching in regexp mode: at_begin=" << at_begin);
                regex const & p_regexp = at_begin ? regexp : regexp2;
                sregex_iterator re_it(str.begin(), str.end(), p_regexp);
-               if (re_it == std::sregex_iterator())
+               if (re_it == sregex_iterator())
                        return 0;
                match_results<string::const_iterator> const & m = *re_it;