From 12c6f841c27343da68e228407437524fa49095ab Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 4 Feb 2018 14:35:22 -0500 Subject: [PATCH] inst_gen: Make invalid_instructions a static inline variable --- tests/A64/inst_gen.cpp | 2 -- tests/A64/inst_gen.h | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/A64/inst_gen.cpp b/tests/A64/inst_gen.cpp index 977531f6..8b212173 100644 --- a/tests/A64/inst_gen.cpp +++ b/tests/A64/inst_gen.cpp @@ -36,5 +36,3 @@ u32 InstructionGenerator::Generate() const { } while (IsInvalidInstruction(inst)); return inst; } - -std::vector InstructionGenerator::invalid_instructions; diff --git a/tests/A64/inst_gen.h b/tests/A64/inst_gen.h index cb29cebb..64316d84 100644 --- a/tests/A64/inst_gen.h +++ b/tests/A64/inst_gen.h @@ -30,7 +30,7 @@ public: } private: - static std::vector invalid_instructions; + static inline std::vector invalid_instructions; u32 bits = 0; u32 mask = 0;