Build fix

This commit is contained in:
King_DuckZ 2022-04-29 12:43:06 +02:00
parent 5d6575f328
commit edd5f27ab2

View file

@ -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<len> retval{std::make_index_sequence<len>{}, fname + from};
constexpr dhandy::bt::string<len> retval{fname + from};
return retval;
//#elif defined(_MSC_VER)
//void __cdecl guess_class_name<class MyTest>(void)
@ -58,6 +58,6 @@ namespace wren {
template <typename T>
const char* guess_class_name() {
return detail::g_class_names<T>.data;
return detail::g_class_names<T>.data();
}
} //namespace wren