summaryrefslogtreecommitdiff
path: root/boost/units/base_units/us/ton.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/ton.hpp
parent3fdc3e5ee96dca5b11d1694975a65200787eab86 (diff)
downloadboost-upstream/1.67.0.tar.gz
boost-upstream/1.67.0.tar.bz2
boost-upstream/1.67.0.zip
Imported Upstream version 1.67.0upstream/1.67.0
Diffstat (limited to 'boost/units/base_units/us/ton.hpp')
-rw-r--r--boost/units/base_units/us/ton.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/units/base_units/us/ton.hpp b/boost/units/base_units/us/ton.hpp
index 84daa85a73..d1f52e8319 100644
--- a/boost/units/base_units/us/ton.hpp
+++ b/boost/units/base_units/us/ton.hpp
@@ -28,8 +28,8 @@ typedef scaled_base_unit<pound_base_unit, scale<2000, static_rational<1> > > ton
template<>
struct base_unit_info<us::ton_base_unit> {
- static const char* name() { return("short ton"); }
- static const char* symbol() { return("t"); }
+ static BOOST_CONSTEXPR const char* name() { return("short ton"); }
+ static BOOST_CONSTEXPR const char* symbol() { return("t"); }
};
} // namespace units