From 1da01ad7be2abe2f01b94e5c86b73f6991903987 Mon Sep 17 00:00:00 2001 From: syntheticpp Date: Mon, 9 Jan 2006 08:12:12 +0000 Subject: [PATCH] remove msvc warning git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@458 7ec92016-0320-0410-acc4-a06ded1c099a --- include/loki/flex/smallstringopt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/loki/flex/smallstringopt.h b/include/loki/flex/smallstringopt.h index 70b7d57..86a0038 100755 --- a/include/loki/flex/smallstringopt.h +++ b/include/loki/flex/smallstringopt.h @@ -279,7 +279,7 @@ public: else { std::copy(b, e, buf_ + maxSmallString - buf_[maxSmallString]); - buf_[maxSmallString] -= value_type(sz); + buf_[maxSmallString] = buf_[maxSmallString] - value_type(sz); } } }