summaryrefslogtreecommitdiff
path: root/boost/format
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2016-10-06 10:30:07 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2016-10-06 10:32:57 +0900
commit71d216b90256936a9638f325af9bc69d720e75de (patch)
tree9c5f682d341c7c88ad0c8e3d4b262e00b6fb691a /boost/format
parent733b5d5ae2c5d625211e2985ac25728ac3f54883 (diff)
downloadboost-71d216b90256936a9638f325af9bc69d720e75de.tar.gz
boost-71d216b90256936a9638f325af9bc69d720e75de.tar.bz2
boost-71d216b90256936a9638f325af9bc69d720e75de.zip
Imported Upstream version 1.59.0
Change-Id: I2dde00f4eca71df3eea9d251dcaecde18a6c90a5 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'boost/format')
-rw-r--r--boost/format/exceptions.hpp2
-rw-r--r--boost/format/feed_args.hpp2
-rw-r--r--boost/format/parsing.hpp2
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
}