Commit dc488cb9 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

[2726] Suppress warnings about unused functions

They are used, but cppcheck is probably confused about use from friend
class and templates. I'd be confused myself and I'm not written in C++,
so it is excused.
parent e05af734
......@@ -834,6 +834,7 @@ private:
/// the top node
///
/// \exception None
// cppcheck-suppress unusedPrivateFunction (false positive, it is used)
void pop() {
assert(!isEmpty());
--level_count_;
......@@ -846,6 +847,7 @@ private:
/// otherwise the node should be the root node of DomainTree.
///
/// \exception None
// cppcheck-suppress unusedPrivateFunction (false positive, it is used)
void push(const DomainTreeNode<T>* node) {
assert(level_count_ < RBT_MAX_LEVEL);
nodes_[level_count_++] = node;
......
Supports Markdown
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