diff --git a/libwccl/values/matchvector.h b/libwccl/values/matchvector.h index 129352506a39929305b90cad019179a24cd2c587..d25f799b26d66ff5ebd5720eaf7057469633d2a2 100644 --- a/libwccl/values/matchvector.h +++ b/libwccl/values/matchvector.h @@ -50,6 +50,10 @@ public: return matches_[idx]; } + void clear() { + matches_.clear(); + } + private: std::vector< boost::shared_ptr<Match> > matches_; };