]> git.lyx.org Git - lyx.git/blobdiff - src/support/debug.cpp
Cmake build: Omit also hidden header files from globbing
[lyx.git] / src / support / debug.cpp
index 3a6f9018feb3926549c5af73e125c406b6279d7f..02bc8175edd237f8701021be13e79320bb4a1f9c 100644 (file)
@@ -202,7 +202,7 @@ char const * LyXErr::stripName(char const * n)
 {
        string const name = n;
        // find the last occurence of /src/ in name
-       static regex re("[\\/]src[\\/]");
+       static const regex re("[\\/]src[\\/]");
        string::const_iterator const begin = name.begin();
        string::const_iterator it = begin;
        string::const_iterator const end = name.end();