aboutsummaryrefslogtreecommitdiff
path: root/src/util/color.cpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-04-24 17:13:52 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:58 +0200
commitdb6edcd473a684420e9a7611b24462df21165c1b (patch)
tree9646bdb4f5f6e339a0a01873b44e0b185476ce56 /src/util/color.cpp
parentb36d072ad7a7b9c6e30fcb25d6bbb001a8393468 (diff)
style: improve function and brace styling
Diffstat (limited to 'src/util/color.cpp')
-rw-r--r--src/util/color.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/util/color.cpp b/src/util/color.cpp
index 8ec3ad4..8f23f41 100644
--- a/src/util/color.cpp
+++ b/src/util/color.cpp
@@ -5,11 +5,13 @@
auto get_foreground_esc_seq(const uint32_t &color) noexcept -> std::string
{
return {
- fmt::detail::make_foreground_color<char>(fmt::detail::color_type(color)).begin()};
+ fmt::detail::make_foreground_color<char>(fmt::detail::color_type(color)).begin()
+ };
}
auto get_background_esc_seq(const uint32_t &color) noexcept -> std::string
{
return {
- fmt::detail::make_background_color<char>(fmt::detail::color_type(color)).begin()};
+ fmt::detail::make_background_color<char>(fmt::detail::color_type(color)).begin()
+ };
}