mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Having a using statement that references the deprecation mechanism triggers... deprecation.
Thanks, clan/g++
This commit is contained in:
parent
b6928b4b4e
commit
2706f19976
@ -38,9 +38,6 @@ namespace sol {
|
|||||||
struct SOL_DEPRECATED deprecate_type {
|
struct SOL_DEPRECATED deprecate_type {
|
||||||
using type = T;
|
using type = T;
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename T>
|
|
||||||
using deprecate_type_t = typename deprecate_type<T>::type;
|
|
||||||
} // detail
|
} // detail
|
||||||
} // sol
|
} // sol
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user