Skip to content

Commit

Permalink
Merge pull request #3136 from MirServer/fix-missing-override
Browse files Browse the repository at this point in the history
mtd::NullDisplaySink: Add missing `override` attribute
  • Loading branch information
Saviq authored Nov 17, 2023
2 parents 57525ac + 356cf1d commit 25d38ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/include/mir/test/doubles/null_display_sink.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class NullDisplaySink : public graphics::DisplaySink
void set_next_image(std::unique_ptr<mir::graphics::Framebuffer>) override { }
glm::mat2 transformation() const override { return glm::mat2(1); }
protected:
auto maybe_create_allocator(graphics::DisplayAllocator::Tag const&) -> graphics::DisplayAllocator*
auto maybe_create_allocator(graphics::DisplayAllocator::Tag const&) -> graphics::DisplayAllocator* override
{
return nullptr;
}
Expand Down

0 comments on commit 25d38ed

Please sign in to comment.