From 747b4e17ccb027ab33c9f039931fd44375863281 Mon Sep 17 00:00:00 2001 From: Pavol Droba Date: Mon, 2 Aug 2004 10:32:37 +0000 Subject: [PATCH] Small fix to make vacpp happy [SVN r24245] --- include/boost/algorithm/string/predicate.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/boost/algorithm/string/predicate.hpp b/include/boost/algorithm/string/predicate.hpp index d74f6a7..a6fea9b 100644 --- a/include/boost/algorithm/string/predicate.hpp +++ b/include/boost/algorithm/string/predicate.hpp @@ -208,7 +208,9 @@ namespace boost { return true; } - return (first_finder(Test,Comp)(begin(Input), end(Input))); + // Use the temporary variable to make VACPP happy + bool bResult=(first_finder(Test,Comp)(begin(Input), end(Input))); + return bResult; } //! 'Contains' predicate