From fd28e613aa80bf73ebde8d2493efc2dd41d9033c Mon Sep 17 00:00:00 2001 From: DH Date: Thu, 16 Oct 2025 11:42:35 +0300 Subject: [PATCH] rx/refl: reduce memory usage --- rx/include/rx/refl.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rx/include/rx/refl.hpp b/rx/include/rx/refl.hpp index c81a5a665..60ff2123a 100644 --- a/rx/include/rx/refl.hpp +++ b/rx/include/rx/refl.hpp @@ -130,7 +130,7 @@ template constexpr auto getNameOf() { "V = "; #endif constexpr auto name = detail::unwrapName(prefix, RX_PRETTY_FUNCTION, true); - static constexpr auto result = rx::StaticString{name}; + static constexpr auto result = rx::StaticString{name}; return std::string_view{result}; } @@ -147,7 +147,7 @@ constexpr auto getNameOf() { #endif constexpr auto name = detail::unwrapName(prefix, RX_PRETTY_FUNCTION, true); - static constexpr auto result = rx::StaticString{name}; + static constexpr auto result = rx::StaticString{name}; return std::string_view{result}; } @@ -159,7 +159,7 @@ template constexpr auto getNameOf() { "T = "; #endif constexpr auto name = detail::unwrapName(prefix, RX_PRETTY_FUNCTION, false); - static constexpr auto result = rx::StaticString{name}; + static constexpr auto result = rx::StaticString{name}; return std::string_view{result}; }