diff options
Diffstat (limited to 'boost/format/internals.hpp')
-rw-r--r-- | boost/format/internals.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/boost/format/internals.hpp b/boost/format/internals.hpp index 1c67006aee..cd5fc540d3 100644 --- a/boost/format/internals.hpp +++ b/boost/format/internals.hpp @@ -17,6 +17,7 @@ #include <string> #include <boost/assert.hpp> +#include <boost/core/ignore_unused.hpp> #include <boost/optional.hpp> #include <boost/limits.hpp> #include <boost/format/detail/compat_workarounds.hpp> @@ -111,7 +112,7 @@ namespace detail { else if(loc_default) os.imbue(*loc_default); #else - (void) loc_default; // keep compiler quiet if we don't support locales + ignore_unused(loc_default); #endif // set the state of this stream according to our params if(width_ != -1) |