diff --git a/libwccl/values/matchdata.h b/libwccl/values/matchdata.h index 56f094bdb892d436905c250376aaf3d657f43543..f4f822eef6d2318f1e444ea173ff5a3bfe6db7eb 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."); }