From 73d39415be0a51c2c0eb114e71382585ff9a835c Mon Sep 17 00:00:00 2001
From: Adam Wardynski <award@.(win7-laptop)>
Date: Thu, 21 Apr 2011 15:29:13 +0200
Subject: [PATCH] Follow up with last change for the base class, too.

---
 libwccl/values/matchdata.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libwccl/values/matchdata.h b/libwccl/values/matchdata.h
index f4f822e..f113256 100644
--- a/libwccl/values/matchdata.h
+++ b/libwccl/values/matchdata.h
@@ -37,7 +37,7 @@ public:
 	/**
 	 * Getter for a submatch at given index (indexing starts from 1).
 	 */
-	virtual const boost::shared_ptr<const Match>& submatch(size_t) const {
+	virtual const boost::shared_ptr<const Match> submatch(size_t) const {
 		throw WcclError("Getting a submatch is possible only for a MatchVector.");
 	}
 
-- 
GitLab