aboutsummaryrefslogtreecommitdiff
path: root/src/util/color.cpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-06-27 22:08:43 +0200
committerHampusM <hampus@hampusmat.com>2022-06-27 22:08:43 +0200
commit6b0e2a25cf1e98d3f11d4e6c0305dd327048bbb8 (patch)
treea62c23f4e66949fe109e07dec95ad3a3e5229a7c /src/util/color.cpp
parent9d0fe1b42c9f6a5c09bab444966d347a71a4b905 (diff)
refactor: use int types from std namespace
Diffstat (limited to 'src/util/color.cpp')
-rw-r--r--src/util/color.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/color.cpp b/src/util/color.cpp
index 8ec3ad4..4d50cf5 100644
--- a/src/util/color.cpp
+++ b/src/util/color.cpp
@@ -2,13 +2,13 @@
#include <fmt/color.h>
-auto get_foreground_esc_seq(const uint32_t &color) noexcept -> std::string
+auto get_foreground_esc_seq(const std::uint32_t &color) noexcept -> std::string
{
return {
fmt::detail::make_foreground_color<char>(fmt::detail::color_type(color)).begin()};
}
-auto get_background_esc_seq(const uint32_t &color) noexcept -> std::string
+auto get_background_esc_seq(const std::uint32_t &color) noexcept -> std::string
{
return {
fmt::detail::make_background_color<char>(fmt::detail::color_type(color)).begin()};