Skip to content

Commit 884b4db

Browse files
committed
script_properties_list_helper.cpp: is_class<T>::result replaced by std::is_class_v<T>
Based on Im-dex/xray-162@00d1502
1 parent e3cc304 commit 884b4db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/xrSE_Factory/script_properties_list_helper.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,14 @@ struct CWrapHelper<bool>
6464
template <typename T>
6565
typename CWrapHelper<T>::result_type* wrap_value(luabind::object object, LPCSTR name)
6666
{
67-
return (CWrapHelper<T>::wrap_value < is_class<T>::result &&
67+
return (CWrapHelper<T>::wrap_value < std::is_class_v<T> &&
6868
!object_type_traits::is_same<shared_str, T>::value > (object, name));
6969
}
7070

7171
template <typename T>
7272
typename CWrapHelper<T>::result_type* wrap_value(luabind::object object, luabind::object table, LPCSTR name)
7373
{
74-
return (CWrapHelper<T>::wrap_value < is_class<T>::result &&
74+
return (CWrapHelper<T>::wrap_value < std::is_class_v<T> &&
7575
!object_type_traits::is_same<shared_str, T>::value > (object, table, name));
7676
}
7777

0 commit comments

Comments
 (0)