diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-18 23:42:07 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-18 23:42:07 +0100 |
commit | 4d9a82b720c8ce74b94f43f72ddd819ef21abbdf (patch) | |
tree | c0a5d21b8e19fbb60c286faec8e302e6f32b6679 /editor/imgui-raii.hpp | |
parent | 32b8c22828315292857e2cd9909fba620f30ff70 (diff) |
pre-declare integer types without cstddef/cstdint
Diffstat (limited to 'editor/imgui-raii.hpp')
-rw-r--r-- | editor/imgui-raii.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/imgui-raii.hpp b/editor/imgui-raii.hpp index 8df8de38..9888b70b 100644 --- a/editor/imgui-raii.hpp +++ b/editor/imgui-raii.hpp @@ -40,7 +40,7 @@ private: void text(StringView str, ImGuiTextFlags flags = ImGuiTextFlags_NoWidthForLargeClippedText); -template<std::size_t N> +template<size_t N> void text(const char (&buf)[N], ImGuiTextFlags_ flags = ImGuiTextFlags_NoWidthForLargeClippedText) { ImGui::TextEx(buf, buf + N - 1, flags); |