Fixed ARM build.

This commit is contained in:
XMRig 2019-06-29 10:25:06 +07:00
parent 62edb2fc0a
commit e10671fa51
2 changed files with 3 additions and 3 deletions

View file

@ -42,9 +42,9 @@ public:
virtual ~ICpuInfo() = default;
# if defined(__x86_64__) || defined(_M_AMD64) || defined (__arm64__) || defined (__aarch64__)
inline constexpr bool isX64() const { return true; }
inline constexpr static bool isX64() { return true; }
# else
inline constexpr bool isX64() const { return false; }
inline constexpr static bool isX64() { return false; }
# endif
virtual bool hasAES() const = 0;

View file

@ -32,7 +32,7 @@
#endif
#include "common/cpu/BasicCpuInfo.h"
#include "backend/cpu/platform/BasicCpuInfo.h"
xmrig::BasicCpuInfo::BasicCpuInfo() :