8000 pragma oncify (#14507) · arangodb/arangodb@7d34504 · GitHub
[go: up one dir, main page]

Skip 8000 to content

Commit 7d34504

Browse files
authored
pragma oncify (#14507)
1 parent 9a13d96 commit 7d34504

File tree

4 files changed

+1
-16
lines changed

4 files changed

+1
-16
lines changed

arangod/GeneralServer/AcceptorUnixDomain.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
////////////////////////////////////////////////////////////////////////////////
2323

2424
#pragma once
25-
#ifndef ARANGOD_GENERAL_SERVER_ACCEPTORUNIXDOMAIN_H
26-
#define ARANGOD_GENERAL_SERVER_ACCEPTORUNIXDOMAIN_H 1
2725

2826
#include "GeneralServer/Acceptor.h"
2927
#include "GeneralServer/AsioSocket.h"
@@ -50,5 +48,3 @@ class AcceptorUnixDomain final : public Acceptor {
5048
};
5149
} // namespace rest
5250
} // namespace arangodb
53-
54-
#endif

arangod/Network/ClusterUtils.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
////////////////////////////////////////////////////////////////////////////////
2323

2424
#pragma once
25-
#ifndef ARANGOD_NETWORK_CLUSTER_UTILS_H
26-
#define ARANGOD_NETWORK_CLUSTER_UTILS_H 1
2725

2826
#include "Utils/OperationOptions.h"
2927
#include "Utils/OperationResult.h"
@@ -55,5 +53,3 @@ OperationResult clusterResultRemove(arangodb::fuerte::StatusCode code,
5553

5654
} // namespace network
5755
} // namespace arangodb
58-
59-
#endif

arangod/Network/Utils.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
////////////////////////////////////////////////////////////////////////////////
2323

2424
#pragma once
25-
#ifndef ARANGOD_NETWORK_UTILS_H
26-
#define ARANGOD_NETWORK_UTILS_H 1
2725

2826
#include "Basics/Result.h"
2927
#include "Basics/voc-errors.h"
@@ -93,5 +91,3 @@ void addSourceHeader(consensus::Agent* agent, fuerte::Request& req);
9391

9492
} // namespace network
9593
} // namespace arangodb
96-
97-
#endif

arangod/RestServer/RestartAction.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
/// @author Tobias Gödderz
2121
////////////////////////////////////////////////////////////////////////////////
2222

23-
#ifndef ARANGOD_RESTSERVER_RESTARTACTION_H
24-
#define ARANGOD_RESTSERVER_RESTARTACTION_H
23+
#pragma once
2524

2625
#include <functional>
2726

@@ -30,5 +29,3 @@ namespace arangodb {
3029
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
3130
extern std::function<int()>* restartAction;
3231
} // namespace arangodb
33-
34-
#endif // ARANGOD_RESTSERVER_RESTARTACTION_H

0 commit comments

Comments
 (0)
0