From edd5f27ab2013e7d768fead766274b1a9eab6075 Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Fri, 29 Apr 2022 12:43:06 +0200 Subject: [PATCH] Build fix --- include/wrenpp/guess_class_name.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wrenpp/guess_class_name.hpp b/include/wrenpp/guess_class_name.hpp index e97f8ca..06fbce5 100644 --- a/include/wrenpp/guess_class_name.hpp +++ b/include/wrenpp/guess_class_name.hpp @@ -42,7 +42,7 @@ namespace wren { constexpr auto from = last_whatever + (last_whatever == fname_len ? 0 : 1); constexpr auto len = detail::find_token_end(fname + from, fname_len - from); - constexpr dhandy::bt::string retval{std::make_index_sequence{}, fname + from}; + constexpr dhandy::bt::string retval{fname + from}; return retval; //#elif defined(_MSC_VER) //void __cdecl guess_class_name(void) @@ -58,6 +58,6 @@ namespace wren { template const char* guess_class_name() { - return detail::g_class_names.data; + return detail::g_class_names.data(); } } //namespace wren