mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2026-10-22 07:02:37 +00:00
Catch some missing [[nodiscard]] attributes.
This commit is contained in:
1 parent
7af8a19e2f
commit
fa9c4ea3b3
2 files changed
+2
-2
No files matched your search
@@ -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();
|
||||
};
|
||||
@@ -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();
|
||||
};
|
||||
Reference in new issue
Block a user