aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/utility/ConstexprIntToStr.hpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2023-10-29 15:11:10 +0100
committer hop311 <hop3114@gmail.com>2023-10-29 21:08:08 +0100
commit1b5e43fa7750cc4025d32f18390593cbce3ba842 (patch)
treed37fcb69766ec029ea4e3e2816c419f9d7e05f7c /src/openvic-simulation/utility/ConstexprIntToStr.hpp
parent164264b047921dbe1567d2af183e1cffb200a8cb (diff)
Clang-format formatting (with manual cleanup)
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
+}