mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Fix SonarCloud issues
Replace the use of "::value" with "std::is_abstract_v" and similar issues
This commit is contained in:
@@ -15,8 +15,8 @@
|
||||
|
||||
VCMI_LIB_USING_NAMESPACE
|
||||
|
||||
using NumericPointer = typename std::conditional<sizeof(void *) == sizeof(unsigned long long),
|
||||
unsigned long long, unsigned int>::type;
|
||||
using NumericPointer = typename std::conditional_t<sizeof(void *) == sizeof(unsigned long long),
|
||||
unsigned long long, unsigned int>;
|
||||
|
||||
template<class Type>
|
||||
NumericPointer data_cast(Type * _pointer)
|
||||
|
||||
Reference in New Issue
Block a user