diff --git a/libwccl/values/matchvector.h b/libwccl/values/matchvector.h index b465cd120302939ffea7478555b0db2ba4a46b47..2519ae6804bac4a4d091926919035c3607f978b3 100644 --- a/libwccl/values/matchvector.h +++ b/libwccl/values/matchvector.h @@ -57,7 +57,7 @@ public: * Const version. * @note Indexing is assumed from 1. */ - const boost::shared_ptr<const Match>& submatch(size_t idx) const; + const boost::shared_ptr<const Match> submatch(size_t idx) const; void clear() { matches_.clear();