From 07d5e40ade7f945530f89bc02df01c1cddeb0d53 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Tue, 25 Jun 2024 18:35:57 +0800 Subject: [PATCH] Use accountfwd header for account forward declaration in account header itself, preventing conflicting decls Signed-off-by: Claudio Cambra --- src/libsync/account.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libsync/account.h b/src/libsync/account.h index ebc53dbda3..b00be5ab09 100644 --- a/src/libsync/account.h +++ b/src/libsync/account.h @@ -16,6 +16,7 @@ #ifndef SERVERCONNECTION_H #define SERVERCONNECTION_H +#include "accountfwd.h" #include "capabilities.h" #include "clientsideencryption.h" #include "clientstatusreporting.h" @@ -55,8 +56,6 @@ class ReadPasswordJob; namespace OCC { class AbstractCredentials; -class Account; -using AccountPtr = QSharedPointer; class AccessManager; class SimpleNetworkJob; class PushNotifications;