Skip to content
Commit e8991922 authored by Sam James's avatar Sam James Committed by Vlad Zahorodnii
Browse files

Fix ODR violation with MouseClick plugin

```
/var/tmp/portage/kde-plasma/kwin-6.0.49.9999/work/kwin-6.0.49.9999/src/input_event.h:21:7: error: type ‘struct MouseEvent’ violates the C++ One Definition Rule [-Werror=odr]
   21 | class MouseEvent : public QMouseEvent
      |       ^
/var/tmp/portage/kde-plasma/kwin-6.0.49.9999/work/kwin-6.0.49.9999/src/plugins/mouseclick/mouseclick.h:27:7: note: a type with different bases is defined in another translation unit
   27 | class MouseEvent
      |       ^
lto1: some warnings being treated as errors
```

Bug: https://bugs.gentoo.org/921558


Signed-off-by: default avatarSam James <sam@gentoo.org>


(cherry picked from commit 53a61dfa)
parent b352c5b9
Pipeline #620759 passed with stage
in 11 minutes and 5 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment