diff --git a/src/core/util/SumTree.hpp b/src/core/util/SumTree.hpp index 998e3e05..337e7db8 100644 --- a/src/core/util/SumTree.hpp +++ b/src/core/util/SumTree.hpp @@ -51,7 +51,7 @@ class SumTree { public: SumTree() : m_root(new Bucket), m_depth(0) {} ~SumTree() { delete m_root; } - //! Adds a new element to the tree. + //! Adds a copy of a new element to the tree. The copy is created internally. void add(const T& element); //! Retrieves (and removes) element at random number position. T get(typename T::size_type pos) { return get(pos, m_root, 0); }