]> git.lyx.org Git - lyx.git/blobdiff - src/Counters.cpp
Safer temp file creation with regards to double slash.
[lyx.git] / src / Counters.cpp
index 54fb9a720a9ff2ff416b572dcea52c6f8a973420..1cc78431c7da93dab570387cc69d88c5aba0cabc 100644 (file)
@@ -19,7 +19,7 @@
 #include "support/debug.h"
 #include "support/lstrings.h"
 
-#include <boost/assert.hpp>
+#include "support/lassert.h"
 
 #include <sstream>
 
@@ -183,7 +183,7 @@ void Counters::reset()
 
 void Counters::reset(docstring const & match)
 {
-       BOOST_ASSERT(!match.empty());
+       LASSERT(!match.empty(), /**/);
 
        CounterList::iterator it = counterList.begin();
        CounterList::iterator end = counterList.end();