Catch some missing [[nodiscard]] attributes.

This commit is contained in:
Adrian Conlon 2021-12-17 21:08:10 +00:00
parent 7af8a19e2f
commit fa9c4ea3b3
2 changed files with 2 additions and 2 deletions

View File

@ -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<test_t> generator();
[[nodiscard]] EightBit::co_generator_t<test_t> generator();
};

View File

@ -16,5 +16,5 @@ public:
std::string_view location() const noexcept { return m_location; }
EightBit::co_generator_t<opcode_test_suite_t> generator();
[[nodiscard]] EightBit::co_generator_t<opcode_test_suite_t> generator();
};