Skip to content

Commit

Permalink
Fix incorrect member function definitions.
Browse files Browse the repository at this point in the history
I forgot the class prefix.
  • Loading branch information
BartVandewoestyne committed Feb 12, 2024
1 parent e3e1917 commit 5dd2776
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Structural_Patterns/Bridge/Window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ void Window::Lower() {
// TODO
}

void DrawLine(const Point&, const Point&) {
void Window::DrawLine(const Point&, const Point&) {
// TODO
}

Expand All @@ -47,7 +47,7 @@ void Window::DrawPolygon(const Point[], int n) {
// TODO
}

void DrawText(const char*, const Point&) {
void Window::DrawText(const char*, const Point&) {
// TODO
}

Expand Down

0 comments on commit 5dd2776

Please sign in to comment.