From d2956550b95415c34dd3806647133a5424792bc4 Mon Sep 17 00:00:00 2001
From: Adam Wardynski <award@.(B-4.4.46a)>
Date: Fri, 11 Mar 2011 19:50:44 +0100
Subject: [PATCH] clear() capability for MatchVector.

---
 libwccl/values/matchvector.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libwccl/values/matchvector.h b/libwccl/values/matchvector.h
index 1293525..d25f799 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_;
 };
-- 
GitLab