mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-19 08:30:34 +01:00
Core/Define: Remove the conditional macro for constexpr.
* Not needed anymore since the requirements were raised to MSVC 2015.
This commit is contained in:
@@ -67,8 +67,8 @@ class TC_COMMON_API SFMTEngine
|
||||
public:
|
||||
typedef uint32 result_type;
|
||||
|
||||
static TRINITY_CONSTEXPR result_type min() { return std::numeric_limits<result_type>::min(); }
|
||||
static TRINITY_CONSTEXPR result_type max() { return std::numeric_limits<result_type>::max(); }
|
||||
static constexpr result_type min() { return std::numeric_limits<result_type>::min(); }
|
||||
static constexpr result_type max() { return std::numeric_limits<result_type>::max(); }
|
||||
result_type operator()() const { return rand32(); }
|
||||
|
||||
static SFMTEngine& Instance();
|
||||
|
||||
Reference in New Issue
Block a user