Replace boost type traits with std version
This commit is contained in:
committed by
Robin Gareus
parent
88e38b2699
commit
e326426dbc
@@ -48,7 +48,6 @@
|
||||
#include <vector>
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <boost/type_traits.hpp>
|
||||
|
||||
#include "lua/luastate.h"
|
||||
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user