mirror of
https://github.com/boostorg/type_erasure.git
synced 2026-01-19 04:42:14 +00:00
Avoid Clang cxxstd=latest error about incompatible enumeration types
This commit is contained in:
@@ -84,7 +84,8 @@ int make_arg_type<int&>() { return lvalue; }
|
||||
template<>
|
||||
int make_arg_type<const int&>() { return const_lvalue; }
|
||||
|
||||
enum { id_int = 4, id_copy = 8 };
|
||||
const int id_int = 4;
|
||||
const int id_copy = 8;
|
||||
|
||||
std::vector<int> make_vector() { return std::vector<int>(); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user