Skip to content

Commit

Permalink
script_properties_list_helper.cpp: is_class<T>::result replaced by st…
Browse files Browse the repository at this point in the history
…d::is_class_v<T>

Based on
Im-dex/xray-162@00d1502
  • Loading branch information
Xottab-DUTY committed Aug 4, 2017
1 parent e3cc304 commit 884b4db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/xrSE_Factory/script_properties_list_helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ struct CWrapHelper<bool>
template <typename T>
typename CWrapHelper<T>::result_type* wrap_value(luabind::object object, LPCSTR name)
{
return (CWrapHelper<T>::wrap_value < is_class<T>::result &&
return (CWrapHelper<T>::wrap_value < std::is_class_v<T> &&
!object_type_traits::is_same<shared_str, T>::value > (object, name));
}

template <typename T>
typename CWrapHelper<T>::result_type* wrap_value(luabind::object object, luabind::object table, LPCSTR name)
{
return (CWrapHelper<T>::wrap_value < is_class<T>::result &&
return (CWrapHelper<T>::wrap_value < std::is_class_v<T> &&
!object_type_traits::is_same<shared_str, T>::value > (object, table, name));
}

Expand Down

0 comments on commit 884b4db

Please sign in to comment.