diff options
Diffstat (limited to 'boost/units/base_units/us/gallon.hpp')
-rw-r--r-- | boost/units/base_units/us/gallon.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/units/base_units/us/gallon.hpp b/boost/units/base_units/us/gallon.hpp index a7314c58e4..1b54b28f19 100644 --- a/boost/units/base_units/us/gallon.hpp +++ b/boost/units/base_units/us/gallon.hpp @@ -28,8 +28,8 @@ typedef scaled_base_unit<pint_base_unit, scale<2, static_rational<3> > > gallon_ template<> struct base_unit_info<us::gallon_base_unit> { - static const char* name() { return("gallon (U.S.)"); } - static const char* symbol() { return("gal"); } + static BOOST_CONSTEXPR const char* name() { return("gallon (U.S.)"); } + static BOOST_CONSTEXPR const char* symbol() { return("gal"); } }; } // namespace units |