diff options
Diffstat (limited to 'editor/imgui-raii.hpp')
-rw-r--r-- | editor/imgui-raii.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/editor/imgui-raii.hpp b/editor/imgui-raii.hpp index 59134deb..63738113 100644 --- a/editor/imgui-raii.hpp +++ b/editor/imgui-raii.hpp @@ -67,11 +67,12 @@ private: float font_size; }; +namespace detail { const char* label_left_(StringView, char*, size_t, float); } + template<std::size_t N> const char* label_left(StringView label, char(&buf)[N], float width) { - const char* label_left_(StringView, char*, size_t, float); - return label_left_(label, static_cast<char*>(buf), N, width); + return detail::label_left_(label, static_cast<char*>(buf), N, width); } } // namespace floormat::imgui |