Skip to content

Commit

Permalink
Remove accidental usage of #pragma once (part 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
lnjX committed Feb 3, 2024
1 parent 042689f commit 688a6b9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/base/QXmppExternalService.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
//
// SPDX-License-Identifier: LGPL-2.1-or-later

#pragma once
#ifndef QXMPPEXTERNALSERVICE_H
#define QXMPPEXTERNALSERVICE_H

#include "QXmppGlobal.h"

Expand Down Expand Up @@ -81,3 +82,5 @@ class QXMPP_EXPORT QXmppExternalService
private:
QSharedDataPointer<QXmppExternalServicePrivate> d;
};

#endif // QXMPPEXTERNALSERVICE_H
5 changes: 4 additions & 1 deletion src/client/QXmppBlockingManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
//
// SPDX-License-Identifier: LGPL-2.1-or-later

#pragma once
#ifndef QXMPPBLOCKINGMANAGER_H
#define QXMPPBLOCKINGMANAGER_H

#include "QXmppClientExtension.h"
#include "QXmppError.h"
Expand Down Expand Up @@ -81,3 +82,5 @@ class QXMPP_EXPORT QXmppBlockingManager : public QXmppClientExtension

std::unique_ptr<QXmppBlockingManagerPrivate> d;
};

#endif // QXMPPBLOCKINGMANAGER_H

0 comments on commit 688a6b9

Please sign in to comment.