]> git.lyx.org Git - lyx.git/blobdiff - src/tracer.h
more changes, read the Changelog
[lyx.git] / src / tracer.h
index 47c13f09449a2544c2ab01ceac259794cbb02b9c..9521e5104d4a3ccd92a28183309e7669f6de9754 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 #ifndef TRACER_H
 #define TRACER_H
 
@@ -6,14 +7,17 @@
 
 class DebugTracer {
 public:
+       explicit
        DebugTracer(string const & s) : str(s) {
-               lyxerr << string(depth, ' ') << "Trace begin : " << str << endl;
+               lyxerr << string(depth, ' ') << "Trace begin : "
+                      << str << std::endl;
                ++depth;
                
        }
        ~DebugTracer() {
                --depth;
-               lyxerr << string(depth, ' ') << "Trace end : " << str << endl;
+               lyxerr << string(depth, ' ') << "Trace end : "
+                      << str << std::endl;
        }
 private:
        string str;