]> git.lyx.org Git - lyx.git/blobdiff - src/counters.C
Replace 'using namespace abc;' with 'using abc::xyz;'
[lyx.git] / src / counters.C
index 3d6341c65230210a3d45f79256918a81d42adf38..6d18c383407d02e1b75c7f1791aac5b3f71a143d 100644 (file)
 #include <config.h>
 
 #include "counters.h"
+
 #include "debug.h"
-#include "support/std_sstream.h"
 
 #include "support/lstrings.h"
-#include "support/LAssert.h"
 
-using namespace lyx::support;
+#include <boost/assert.hpp>
+
+#include "support/std_sstream.h"
 
 using std::endl;
-using std::vector;
+
+using std::ostringstream;
 
 
 Counter::Counter()
@@ -171,7 +173,7 @@ void Counters::reset()
 
 void Counters::reset(string const & match)
 {
-       Assert(!match.empty());
+       BOOST_ASSERT(!match.empty());
 
        CounterList::iterator it = counterList.begin();
        CounterList::iterator end = counterList.end();