diff --git a/M6502/HarteTest_6502/opcode_test_suite_t.h b/M6502/HarteTest_6502/opcode_test_suite_t.h index 0e32687..acccf0a 100644 --- a/M6502/HarteTest_6502/opcode_test_suite_t.h +++ b/M6502/HarteTest_6502/opcode_test_suite_t.h @@ -18,5 +18,5 @@ public: [[nodiscard]] auto begin() const noexcept { return array().begin(); } [[nodiscard]] auto end() const noexcept { return array().end(); } - EightBit::co_generator_t generator(); + [[nodiscard]] EightBit::co_generator_t generator(); }; diff --git a/M6502/HarteTest_6502/processor_test_suite_t.h b/M6502/HarteTest_6502/processor_test_suite_t.h index b2f0bc7..3e00434 100644 --- a/M6502/HarteTest_6502/processor_test_suite_t.h +++ b/M6502/HarteTest_6502/processor_test_suite_t.h @@ -16,5 +16,5 @@ public: std::string_view location() const noexcept { return m_location; } - EightBit::co_generator_t generator(); + [[nodiscard]] EightBit::co_generator_t generator(); };