Do not use const for POD type in setShowCallNotifications declaration
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Wed, 26 Jun 2024 09:24:42 +0000 (17:24 +0800)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Thu, 21 Nov 2024 11:31:23 +0000 (12:31 +0100)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
src/libsync/configfile.h

index 212d6e6fe0d7dcd67151154cd82ec4d08c743050..844036336a6f9b0c650276a0a7c67bacdd91fbe8 100644 (file)
@@ -171,7 +171,7 @@ public:
     void setShowChatNotifications(bool show);
 
     [[nodiscard]] bool showCallNotifications() const;
-    void setShowCallNotifications(const bool show);
+    void setShowCallNotifications(bool show);
 
     [[nodiscard]] bool showInExplorerNavigationPane() const;
     void setShowInExplorerNavigationPane(bool show);