diff options
Diffstat (limited to 'boost/format')
-rw-r--r-- | boost/format/exceptions.hpp | 2 | ||||
-rw-r--r-- | boost/format/feed_args.hpp | 2 | ||||
-rw-r--r-- | boost/format/parsing.hpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/boost/format/exceptions.hpp b/boost/format/exceptions.hpp index 9b2de834cf..56ee30dce0 100644 --- a/boost/format/exceptions.hpp +++ b/boost/format/exceptions.hpp @@ -73,7 +73,7 @@ namespace boost { std::size_t get_expected() const { return expected_; } virtual const char *what() const throw() { return "boost::too_many_args: " - "format-string referred to less arguments than were passed"; + "format-string referred to fewer arguments than were passed"; } }; diff --git a/boost/format/feed_args.hpp b/boost/format/feed_args.hpp index dcfd955b36..95bbe5e252 100644 --- a/boost/format/feed_args.hpp +++ b/boost/format/feed_args.hpp @@ -274,7 +274,7 @@ namespace detail { template< class Ch, class Tr, class Alloc, class T> void distribute (basic_format<Ch,Tr, Alloc>& self, T x) { - // call put(x, ..) on every occurence of the current argument : + // call put(x, ..) on every occurrence of the current argument : if(self.cur_arg_ >= self.num_args_) { if( self.exceptions() & too_many_args_bit ) boost::throw_exception(too_many_args(self.cur_arg_, self.num_args_)); diff --git a/boost/format/parsing.hpp b/boost/format/parsing.hpp index 27c53ba8d7..04ddf368e1 100644 --- a/boost/format/parsing.hpp +++ b/boost/format/parsing.hpp @@ -50,7 +50,7 @@ namespace detail { # else (void) fac; // remove "unused parameter" warning using namespace std; - return isdigit(c); + return isdigit(c) != 0; #endif } |