aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/utility/ConstexprIntToStr.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/utility/ConstexprIntToStr.hpp')
-rw-r--r--src/openvic-simulation/utility/ConstexprIntToStr.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/openvic-simulation/utility/ConstexprIntToStr.hpp b/src/openvic-simulation/utility/ConstexprIntToStr.hpp
index e383365..e346ebe 100644
--- a/src/openvic-simulation/utility/ConstexprIntToStr.hpp
+++ b/src/openvic-simulation/utility/ConstexprIntToStr.hpp
@@ -33,7 +33,9 @@ namespace OpenVic::ConstexprIntToStr {
constexpr std::size_t next_value = value / 10;
if constexpr (next_value != 0) {
- return append_sequence(integer_to_string_sequence<next_value>(), std::integer_sequence<char, digits()[remainder]> {});
+ return append_sequence(
+ integer_to_string_sequence<next_value>(), std::integer_sequence<char, digits()[remainder]> {}
+ );
} else {
return std::integer_sequence<char, digits()[remainder]> {};
}
@@ -53,4 +55,4 @@ namespace OpenVic::ConstexprIntToStr {
constexpr auto make_itosv_array() {
return generate_itosv_array(std::make_integer_sequence<std::size_t, N>());
}
-} \ No newline at end of file
+}