From 77a065e8def1d5b3451752b470534288d24d3897 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Wed, 24 Mar 2021 15:08:09 +0200 Subject: [PATCH] Remove redundant anonymous namespace static functions already have translation unit internal linkage. --- src/wayland/seat_interface.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/wayland/seat_interface.cpp b/src/wayland/seat_interface.cpp index 484fd5111e..c5dbdfce26 100644 --- a/src/wayland/seat_interface.cpp +++ b/src/wayland/seat_interface.cpp @@ -668,7 +668,6 @@ PointerInterface *SeatInterface::pointer() const return d->pointer.data(); } -namespace { static quint32 qtToWaylandButton(Qt::MouseButton button) { #if HAVE_LINUX_INPUT_H @@ -696,7 +695,6 @@ static quint32 qtToWaylandButton(Qt::MouseButton button) return 0; #endif } -} bool SeatInterface::isPointerButtonPressed(Qt::MouseButton button) const {