From 989d036e650fb810dd0f1af794a0314e93c9679d Mon Sep 17 00:00:00 2001 From: MerryMage Date: Sat, 13 Jan 2018 17:58:05 +0000 Subject: [PATCH] A64 inferface: Use two argument static_assert Don't require C++17 in the interface to the library --- include/dynarmic/A64/a64.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/dynarmic/A64/a64.h b/include/dynarmic/A64/a64.h index 58276efc..52946b1d 100644 --- a/include/dynarmic/A64/a64.h +++ b/include/dynarmic/A64/a64.h @@ -75,7 +75,7 @@ public: void SetRegisters(const std::array& value); using Vector = std::array; - static_assert(sizeof(Vector) == sizeof(std::uint64_t) * 2); + static_assert(sizeof(Vector) == sizeof(std::uint64_t) * 2, "Vector must be 128 bits in size"); /// Read floating point and SIMD register. Vector GetVector(std::size_t index) const;