]> git.lyx.org Git - lyx.git/blobdiff - src/tracer.h
more changes, read the Changelog
[lyx.git] / src / tracer.h
index bcde291ee02e525d6dddb0232d91be651922d678..9521e5104d4a3ccd92a28183309e7669f6de9754 100644 (file)
@@ -5,20 +5,19 @@
 #include "debug.h"
 #include "LString.h"
 
-using std::endl;
-
 class DebugTracer {
 public:
+       explicit
        DebugTracer(string const & s) : str(s) {
                lyxerr << string(depth, ' ') << "Trace begin : "
-                      << str << endl;
+                      << str << std::endl;
                ++depth;
                
        }
        ~DebugTracer() {
                --depth;
                lyxerr << string(depth, ' ') << "Trace end : "
-                      << str << endl;
+                      << str << std::endl;
        }
 private:
        string str;