diff --git a/include/sol/usertype_storage.hpp b/include/sol/usertype_storage.hpp index b8475134..fdfac5ff 100644 --- a/include/sol/usertype_storage.hpp +++ b/include/sol/usertype_storage.hpp @@ -66,11 +66,11 @@ namespace sol { namespace u_detail { template struct binding : binding_base { using uF = meta::unqualified_t; - using F = meta::conditional_t + using F = meta::conditional_t #if SOL_IS_ON(SOL_CHAR8_T_I_) - || meta::is_c_str_or_string_of_v + || meta::is_c_str_of_v #endif - || meta::is_c_str_or_string_of_v || meta::is_c_str_or_string_of_v || meta::is_c_str_or_string_of_v, + || meta::is_c_str_of_v || meta::is_c_str_of_v || meta::is_c_str_of_v, std::add_pointer_t>>, std::decay_t>; F data_;