From add192cf274cc7c3660f387a156eacaa74b86ab0 Mon Sep 17 00:00:00 2001 From: tomoaki Date: Mon, 2 Jul 2012 01:37:27 +0900 Subject: [PATCH] [gcc] lexical2/variable.hpp: compilable --- roast/include/roast/lexical2/variable.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roast/include/roast/lexical2/variable.hpp b/roast/include/roast/lexical2/variable.hpp index 03c4e7ac..e58985f5 100644 --- a/roast/include/roast/lexical2/variable.hpp +++ b/roast/include/roast/lexical2/variable.hpp @@ -72,9 +72,9 @@ namespace roast ///////////////// template - bool parse(InputIterator& it, const _Param& param) const + bool parse(InputIterator& it, const _Param& param) { - for(unsigned int i=length; i!=0; i--, p++, it++) + for(;; it++) { if ( push_data(*it) == false ) return false; -- 2.11.0