From 73a30ea572dc749d6f0122e08c2a81005decfec8 Mon Sep 17 00:00:00 2001 From: Adam Wardynski <award@.(win7-laptop)> Date: Thu, 21 Apr 2011 15:20:24 +0200 Subject: [PATCH] Remove declaration of unused parameter to avoid a warning. --- libwccl/values/matchdata.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libwccl/values/matchdata.h b/libwccl/values/matchdata.h index 56f094b..f4f822e 100644 --- a/libwccl/values/matchdata.h +++ b/libwccl/values/matchdata.h @@ -37,14 +37,14 @@ public: /** * Getter for a submatch at given index (indexing starts from 1). */ - virtual const boost::shared_ptr<const Match>& submatch(size_t idx) const { + virtual const boost::shared_ptr<const Match>& submatch(size_t) const { throw WcclError("Getting a submatch is possible only for a MatchVector."); } /** * Getter for a submatch at given index (indexing starts from 1). */ - virtual const boost::shared_ptr<Match>& submatch(size_t idx) { + virtual const boost::shared_ptr<Match>& submatch(size_t) { throw WcclError("Getting a submatch is possible only for a MatchVector."); } -- GitLab