Commit 7783383e authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

bug fix?

parent 64d25736
......@@ -29,7 +29,7 @@ public:
indent = indent.append(defaultIndent);
}
void StartMethod(const string& msg, int verbose) {
void StartMethod(const string &msg, int verbose) {
Date start;
timestamps.push_back(start);
vout (1) << indent << "<" << msg << ">" << endl;
......@@ -39,10 +39,10 @@ public:
void EndMethod(int verbose) {
DecreaseIndent();
vout (1) << indent << "<End after " << Date() - timestamps.back() << ">" << endl;
timestamps.erase(timestamps.end());
timestamps.erase(std::prev(timestamps.end())); // TODO
}
void InnerMsg(const string& msg, int verbose) {
void InnerMsg(const string &msg, int verbose) {
vout (1) << indent << msg << endl;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment