summaryrefslogtreecommitdiffhomepage
path: root/compat/debug.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-03-01 23:23:44 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-03-02 05:09:57 +0100
commit0e95ec8953ed3e404e2e10d2a91ff4a0fdfcf1a6 (patch)
tree78af22b7e31dbef2125b25d1bd8e9df9d650b88a /compat/debug.hpp
parent05f3e721694249a71f46cef3c87e0156b00363ee (diff)
fix build
Diffstat (limited to 'compat/debug.hpp')
-rw-r--r--compat/debug.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/debug.hpp b/compat/debug.hpp
index 656ff654..9fd0f2a9 100644
--- a/compat/debug.hpp
+++ b/compat/debug.hpp
@@ -44,7 +44,7 @@ template<typename T> Debug& operator<<(Debug& dbg, Quoted<T> box)
struct Fraction
{
float value;
- uint8_t decimal_points;
+ int decimal_points;
};
Debug& operator<<(Debug& dbg, Fraction frac);
@@ -61,7 +61,7 @@ floormat::detail::corrade_debug::Colon colon(char c = ':');
floormat::detail::corrade_debug::ErrorString error_string(int error);
floormat::detail::corrade_debug::ErrorString error_string();
-floormat::detail::corrade_debug::Fraction fraction(float value, uint8_t decimal_points = 1);
+floormat::detail::corrade_debug::Fraction fraction(float value, int decimal_points = 1);
template<DebugPrintable T>
auto quoted(T&& value, char c = '\'')