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