From 0e23f8f0b2197464009253771fb3c2f42d0d9cab Mon Sep 17 00:00:00 2001 From: yhirose Date: Fri, 25 Sep 2015 15:21:12 -0400 Subject: [PATCH] Removed unnecessary code. --- peglib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/peglib.h b/peglib.h index a255780..ca891fc 100644 --- a/peglib.h +++ b/peglib.h @@ -540,7 +540,7 @@ public: #endif Sequence(const std::vector>& opes) : opes_(opes) {} - Sequence(std::vector>&& opes) : opes_(std::move(opes)) {} + Sequence(std::vector>&& opes) : opes_(opes) {} size_t parse(const char* s, size_t n, SemanticValues& sv, Context& c, any& dt) const override { size_t i = 0; @@ -580,7 +580,7 @@ public: #endif PrioritizedChoice(const std::vector>& opes) : opes_(opes) {} - PrioritizedChoice(std::vector>&& opes) : opes_(std::move(opes)) {} + PrioritizedChoice(std::vector>&& opes) : opes_(opes) {} size_t parse(const char* s, size_t n, SemanticValues& sv, Context& c, any& dt) const override { size_t id = 0;