mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-19 08:30:34 +01:00
cd30e0b follow-up (I could've sworn I pushed that to the PR branch. Sorry, Shauren.)
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#include "Define.h"
|
||||
#include "Errors.h"
|
||||
#include "Optional.h"
|
||||
#include "Types.h"
|
||||
#include "Util.h"
|
||||
#include <charconv>
|
||||
#include <string>
|
||||
|
||||
@@ -63,6 +63,12 @@ namespace Trinity
|
||||
*/
|
||||
template<template<typename...> typename Check, typename... Ts>
|
||||
using find_type_if_t = typename find_type_if<Check, Ts...>::type;
|
||||
|
||||
template <typename T>
|
||||
struct dependant_false { static constexpr bool value = false; };
|
||||
|
||||
template <typename T>
|
||||
constexpr bool dependant_false_v = dependant_false<T>::value;
|
||||
}
|
||||
|
||||
#endif // Types_h__
|
||||
|
||||
@@ -559,13 +559,4 @@ Ret* Coalesce(T1* first, T*... rest)
|
||||
return static_cast<Ret*>(first);
|
||||
}
|
||||
|
||||
namespace Trinity
|
||||
{
|
||||
template <typename T>
|
||||
struct dependant_false { static constexpr bool value = false; };
|
||||
|
||||
template <typename T>
|
||||
constexpr bool dependant_false_v = dependant_false<T>::value;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user