Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

[dynarmic] fix constexpr build issue on gcc-debian-stable (#3798)

lizzie276dcdd8eaa5
diff --git a/src/dynarmic/src/dynarmic/backend/arm64/fastmem.h b/src/dynarmic/src/dynarmic/backend/arm64/fastmem.h
index 953fc3783e..8e40e81569 100644
--- a/src/dynarmic/src/dynarmic/backend/arm64/fastmem.h
+++ b/src/dynarmic/src/dynarmic/backend/arm64/fastmem.h
@@ -29,7 +29,7 @@ constexpr size_t xmrx(size_t x) noexcept {
}
struct DoNotFastmemMarkerHash {
- [[nodiscard]] constexpr size_t operator()(const DoNotFastmemMarker& value) const noexcept {
+ [[nodiscard]] size_t operator()(const DoNotFastmemMarker& value) const noexcept {
return xmrx(std::get<0>(value).Value() ^ u64(std::get<1>(value)));
}
};