From df0cb89a40bebf68637f2a3fc3668ded8a33c9dc Mon Sep 17 00:00:00 2001 From: PKEuS Date: Mon, 13 Feb 2012 18:48:44 +0100 Subject: [PATCH] Fixed compiler error --- lib/token.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/token.cpp b/lib/token.cpp index 2e35035ab..5a54f978f 100644 --- a/lib/token.cpp +++ b/lib/token.cpp @@ -118,7 +118,7 @@ std::string Token::strValue() const { assert(_str.length() >= 2); assert(_str[0] == '"'); - assert(_str.back() == '"'); + assert(_str[_str.length()-1] == '"'); return _str.substr(1, _str.length() - 2); }