Skip to content

Commit

Permalink
Removes extra qualification in function signature
Browse files Browse the repository at this point in the history
This fixes the following compiler error with gcc.

laf/os/win/dnd.h:59:15: error: extra qualification
'os::DragTargetAdapter::' on member 'newDragEven' [-fpermissive]
59 | DragEvent DragTargetAdapter::newDragEvent(POINTL* pt, DWORD* pdwEffect);
   |           ^~~~~~~~~~~~~~~~~
  • Loading branch information
Biswa96 committed Nov 4, 2024
1 parent 4618e1d commit 5f404c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion os/win/dnd.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ namespace os {
DWORD* pdwEffect) override;

private:
DragEvent DragTargetAdapter::newDragEvent(POINTL* pt, DWORD* pdwEffect);
DragEvent newDragEvent(POINTL* pt, DWORD* pdwEffect);

ULONG m_ref = 0;
Window* m_window = nullptr;
Expand Down

0 comments on commit 5f404c9

Please sign in to comment.