ir/cond: Migrate to C++17 nested namespace specifiers

This commit is contained in:
Lioncash 2018-09-08 20:10:07 -04:00 committed by MerryMage
parent c3b7819a55
commit 2c8e07e7d0

View file

@ -8,8 +8,7 @@
#include "common/common_types.h" #include "common/common_types.h"
namespace Dynarmic { namespace Dynarmic::IR {
namespace IR {
enum class Cond { enum class Cond {
EQ, NE, CS, CC, MI, PL, VS, VC, HI, LS, GE, LT, GT, LE, AL, NV, 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<Cond>(static_cast<size_t>(c) ^ 1); return static_cast<Cond>(static_cast<size_t>(c) ^ 1);
} }
} // namespace IR } // namespace Dynarmic::IR
} // namespace Dynarmic