summaryrefslogtreecommitdiffhomepage
path: root/editor/imgui-raii.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-18 23:42:07 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-18 23:42:07 +0100
commit4d9a82b720c8ce74b94f43f72ddd819ef21abbdf (patch)
treec0a5d21b8e19fbb60c286faec8e302e6f32b6679 /editor/imgui-raii.hpp
parent32b8c22828315292857e2cd9909fba620f30ff70 (diff)
pre-declare integer types without cstddef/cstdint
Diffstat (limited to 'editor/imgui-raii.hpp')
-rw-r--r--editor/imgui-raii.hpp2
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);