mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:37:45 +00:00
BrickGame: Add a missing [[nodiscard]] for consistency
Every other function there returning a RenderRequest has one, so might as well. Don't add it to check_and_remove_full_rows(), because it's only used inside other functions returning a RenderRequest, when it's already clear a render will happen.
This commit is contained in:
parent
962d39cc05
commit
bd12a72546
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ public:
|
|||
return RenderRequest::RequestUpdate;
|
||||
}
|
||||
|
||||
RenderRequest move_down_fast()
|
||||
[[nodiscard]] RenderRequest move_down_fast()
|
||||
{
|
||||
for (auto block = m_block;; block.move_down()) {
|
||||
if (block.has_collision(m_well)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue