aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2020-11-23 10:13:12 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2020-11-23 10:13:12 +0000
commitf14beea4b6c12584985347b1afbeadcc3b69f021 (patch)
treee54836635f31a33d81f1dd86de67e42d6040fbe4 /vespalib/src
parent35b3c13c44390271d09f3a8b9bb1709d335443c6 (diff)
Update comment.
Diffstat (limited to 'vespalib/src')
-rw-r--r--vespalib/src/vespa/vespalib/trace/trace.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/vespalib/src/vespa/vespalib/trace/trace.h b/vespalib/src/vespa/vespalib/trace/trace.h
index 4b3752638f1..2931cd16829 100644
--- a/vespalib/src/vespa/vespalib/trace/trace.h
+++ b/vespalib/src/vespa/vespalib/trace/trace.h
@@ -33,8 +33,6 @@ public:
/**
* Remove all trace information and set the trace level to 0.
- *
- * @return This, to allow chaining.
*/
void clear();
@@ -104,6 +102,7 @@ public:
}
}
+ //TODO This one should go away
const TraceNode &getRoot() const { return *_root; }
bool isEmpty() const { return !_root || _root->isEmpty(); }