From: Claudio Cambra Date: Tue, 25 Jun 2024 10:35:57 +0000 (+0800) Subject: Use accountfwd header for account forward declaration in account header itself, preve... X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~7^2~13^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1f729271e430661c0d9fa1ae24969794dab965bb;p=nextcloud-desktop.git Use accountfwd header for account forward declaration in account header itself, preventing conflicting decls Signed-off-by: Claudio Cambra --- diff --git a/src/libsync/account.h b/src/libsync/account.h index b7702e525..0ac43606c 100644 --- a/src/libsync/account.h +++ b/src/libsync/account.h @@ -31,6 +31,7 @@ #include #endif +#include "accountfwd.h" #include "capabilities.h" #include "clientsideencryption.h" #include "clientstatusreporting.h" @@ -53,8 +54,6 @@ class ReadPasswordJob; namespace OCC { class AbstractCredentials; -class Account; -using AccountPtr = QSharedPointer; class AccessManager; class SimpleNetworkJob; class PushNotifications;