Skip to content

Commit

Permalink
Fix warning about unused parameter in Image::HandleMouse(Event&).
Browse files Browse the repository at this point in the history
  • Loading branch information
BartVandewoestyne committed Feb 15, 2024
1 parent 85f8812 commit 494d289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Structural_Patterns/Proxy/Image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ void Image::Draw(const Point& at)

void Image::HandleMouse(Event& event)
{
//std::cout << "Handling mouse event " << event << std::endl;
std::cout << "Handling mouse event " << &event << std::endl;
}

const Point& Image::GetExtent()
Expand Down

0 comments on commit 494d289

Please sign in to comment.