From 3cb90c6a4eff6be8ccffdcf3957bfb87c22e9196 Mon Sep 17 00:00:00 2001
From: Adam Wardynski <award@.(win7-laptop)>
Date: Thu, 21 Apr 2011 20:02:09 +0200
Subject: [PATCH] Add missing parenthesis.

---
 libwccl/ops/match/conditions/matchtext.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libwccl/ops/match/conditions/matchtext.cpp b/libwccl/ops/match/conditions/matchtext.cpp
index aecd31e..2d01ee5 100644
--- a/libwccl/ops/match/conditions/matchtext.cpp
+++ b/libwccl/ops/match/conditions/matchtext.cpp
@@ -27,7 +27,7 @@ MatchResult MatchText::apply(const ActionExecContext& context) const
 
 	boost::shared_ptr<MatchVector> v(new MatchVector());
 	for(int i = orig_iter; i < iter_pos; ++i) {
-		v->append(boost::shared_ptr<TokenMatch>(new TokenMatch(i));
+		v->append(boost::shared_ptr<TokenMatch>(new TokenMatch(i)));
 	}
 	// increase current sentence position to the point after the matched tokens.
 	sc.set_position(orig_iter + v->size());
-- 
GitLab