From 2c8e07e7d083e4934eaedb1942db73b636638941 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 8 Sep 2018 20:10:07 -0400 Subject: [PATCH] ir/cond: Migrate to C++17 nested namespace specifiers --- src/frontend/ir/cond.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/frontend/ir/cond.h b/src/frontend/ir/cond.h index 1f180cc6..b4b7d94d 100644 --- a/src/frontend/ir/cond.h +++ b/src/frontend/ir/cond.h @@ -8,8 +8,7 @@ #include "common/common_types.h" -namespace Dynarmic { -namespace IR { +namespace Dynarmic::IR { enum class Cond { EQ, NE, CS, CC, MI, PL, VS, VC, HI, LS, GE, LT, GT, LE, AL, NV, @@ -20,5 +19,4 @@ inline Cond invert(Cond c) { return static_cast(static_cast(c) ^ 1); } -} // namespace IR -} // namespace Dynarmic +} // namespace Dynarmic::IR