summaryrefslogtreecommitdiffstats
path: root/src/common/x64
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-07 19:31:57 +0200
committerLioncash <mathew1800@gmail.com>2018-08-08 01:34:47 +0200
commita7d6efc5201960b351fee4760663388dd946ab8e (patch)
treeaea37b49caa9b3b71a98a1266d7786ac39079e2f /src/common/x64
parentMerge pull request #971 from DarkLordZach/mbedtls-2.12.0 (diff)
downloadyuzu-a7d6efc5201960b351fee4760663388dd946ab8e.tar
yuzu-a7d6efc5201960b351fee4760663388dd946ab8e.tar.gz
yuzu-a7d6efc5201960b351fee4760663388dd946ab8e.tar.bz2
yuzu-a7d6efc5201960b351fee4760663388dd946ab8e.tar.lz
yuzu-a7d6efc5201960b351fee4760663388dd946ab8e.tar.xz
yuzu-a7d6efc5201960b351fee4760663388dd946ab8e.tar.zst
yuzu-a7d6efc5201960b351fee4760663388dd946ab8e.zip
Diffstat (limited to 'src/common/x64')
-rw-r--r--src/common/x64/xbyak_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/x64/xbyak_util.h b/src/common/x64/xbyak_util.h
index 0f52f704b..ec76e0a47 100644
--- a/src/common/x64/xbyak_util.h
+++ b/src/common/x64/xbyak_util.h
@@ -34,7 +34,7 @@ inline bool IsWithin2G(const Xbyak::CodeGenerator& code, uintptr_t target) {
template <typename T>
inline void CallFarFunction(Xbyak::CodeGenerator& code, const T f) {
- static_assert(std::is_pointer<T>(), "Argument must be a (function) pointer.");
+ static_assert(std::is_pointer_v<T>, "Argument must be a (function) pointer.");
size_t addr = reinterpret_cast<size_t>(f);
if (IsWithin2G(code, addr)) {
code.call(f);