summaryrefslogtreecommitdiff
path: root/boost/units/base_units/astronomical
diff options
context:
space:
mode:
Diffstat (limited to 'boost/units/base_units/astronomical')
-rw-r--r--boost/units/base_units/astronomical/light_day.hpp4
-rw-r--r--boost/units/base_units/astronomical/light_hour.hpp4
-rw-r--r--boost/units/base_units/astronomical/light_minute.hpp4
-rw-r--r--boost/units/base_units/astronomical/light_year.hpp4
4 files changed, 8 insertions, 8 deletions
diff --git a/boost/units/base_units/astronomical/light_day.hpp b/boost/units/base_units/astronomical/light_day.hpp
index 2d045ff2e1..a0ad93becb 100644
--- a/boost/units/base_units/astronomical/light_day.hpp
+++ b/boost/units/base_units/astronomical/light_day.hpp
@@ -28,8 +28,8 @@ typedef scaled_base_unit<boost::units::astronomical::light_second_base_unit, sca
template<>
struct base_unit_info<astronomical::light_day_base_unit> {
- static const char* name() { return("light day"); }
- static const char* symbol() { return("ldy"); }
+ static BOOST_CONSTEXPR const char* name() { return("light day"); }
+ static BOOST_CONSTEXPR const char* symbol() { return("ldy"); }
};
} // namespace units
diff --git a/boost/units/base_units/astronomical/light_hour.hpp b/boost/units/base_units/astronomical/light_hour.hpp
index 207d951a46..91bc09a28c 100644
--- a/boost/units/base_units/astronomical/light_hour.hpp
+++ b/boost/units/base_units/astronomical/light_hour.hpp
@@ -28,8 +28,8 @@ typedef scaled_base_unit<boost::units::astronomical::light_second_base_unit, sca
template<>
struct base_unit_info<astronomical::light_hour_base_unit> {
- static const char* name() { return("light hour"); }
- static const char* symbol() { return("lhr"); }
+ static BOOST_CONSTEXPR const char* name() { return("light hour"); }
+ static BOOST_CONSTEXPR const char* symbol() { return("lhr"); }
};
} // namespace units
diff --git a/boost/units/base_units/astronomical/light_minute.hpp b/boost/units/base_units/astronomical/light_minute.hpp
index f0bd095636..6301745c29 100644
--- a/boost/units/base_units/astronomical/light_minute.hpp
+++ b/boost/units/base_units/astronomical/light_minute.hpp
@@ -28,8 +28,8 @@ typedef scaled_base_unit<boost::units::astronomical::light_second_base_unit, sca
template<>
struct base_unit_info<astronomical::light_minute_base_unit> {
- static const char* name() { return("light minute"); }
- static const char* symbol() { return("lmn"); }
+ static BOOST_CONSTEXPR const char* name() { return("light minute"); }
+ static BOOST_CONSTEXPR const char* symbol() { return("lmn"); }
};
} // namespace units
diff --git a/boost/units/base_units/astronomical/light_year.hpp b/boost/units/base_units/astronomical/light_year.hpp
index e9e83a3acb..f3434a7918 100644
--- a/boost/units/base_units/astronomical/light_year.hpp
+++ b/boost/units/base_units/astronomical/light_year.hpp
@@ -28,8 +28,8 @@ typedef scaled_base_unit<boost::units::astronomical::light_second_base_unit, sca
template<>
struct base_unit_info<astronomical::light_year_base_unit> {
- static const char* name() { return("light year"); }
- static const char* symbol() { return("ly"); }
+ static BOOST_CONSTEXPR const char* name() { return("light year"); }
+ static BOOST_CONSTEXPR const char* symbol() { return("ly"); }
};
} // namespace units