Skip to content
Snippets Groups Projects
Commit d2956550 authored by Adam Wardynski's avatar Adam Wardynski
Browse files

clear() capability for MatchVector.

parent d2f021f8
Branches
No related merge requests found
...@@ -50,6 +50,10 @@ public: ...@@ -50,6 +50,10 @@ public:
return matches_[idx]; return matches_[idx];
} }
void clear() {
matches_.clear();
}
private: private:
std::vector< boost::shared_ptr<Match> > matches_; std::vector< boost::shared_ptr<Match> > matches_;
}; };
......
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