summaryrefslogtreecommitdiff
path: root/boost/units/base_units/us/gallon.hpp
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2019-12-05 15:12:59 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2019-12-05 15:12:59 +0900
commitb8cf34c691623e4ec329053cbbf68522a855882d (patch)
tree34da08632a99677f6b79ecb65e5b655a5b69a67f /boost/units/base_units/us/gallon.hpp
parent3fdc3e5ee96dca5b11d1694975a65200787eab86 (diff)
downloadboost-b8cf34c691623e4ec329053cbbf68522a855882d.tar.gz
boost-b8cf34c691623e4ec329053cbbf68522a855882d.tar.bz2
boost-b8cf34c691623e4ec329053cbbf68522a855882d.zip
Imported Upstream version 1.67.0upstream/1.67.0
Diffstat (limited to 'boost/units/base_units/us/gallon.hpp')
-rw-r--r--boost/units/base_units/us/gallon.hpp4
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