Replace boost type traits with std version

This commit is contained in:
Alejandro Domínguez
2024-08-19 07:18:06 +02:00
committed by Robin Gareus
parent 88e38b2699
commit e326426dbc
4 changed files with 7 additions and 11 deletions

View File

@@ -48,7 +48,6 @@
#include <vector>
#include <inttypes.h>
#include <boost/type_traits.hpp>
#include "lua/luastate.h"

View File

@@ -94,8 +94,7 @@ struct TypeTraits
class isEnum
{
public:
//static const bool value = std::is_enum<T>::value; // C++11
static const bool value = boost::is_enum<T>::value;
static const bool value = std::is_enum<T>::value;
};