8000 work around compiler warning · thedemodev/arangodb@64c9c10 · GitHub
[go: up one dir, main page]

Skip to content

Commit 64c9c10

Browse files
committed
work around compiler warning
1 parent f11a535 commit 64c9c10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arangod/Agency/AsyncAgencyComm.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ struct AsyncAgencyCommResult {
8383
// switched off. And since warnings are considered to be errors, we must
8484
// switch the warning off:
8585

86-
#if defined(__GNUC__) && (__GNUC__ > 9 || (__GNUC__ == 9 && __GNUC_MINOR__ >= 3))
86+
#if defined(__GNUC__) && (__GNUC__ > 9 || (__GNUC__ == 9 && __GNUC_MINOR__ >= 2))
8787
#pragma GCC diagnostic push
8888
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
8989
#endif
@@ -106,7 +106,7 @@ struct AgencyReadResult : public AsyncAgencyCommResult {
106106
std::shared_ptr<arangodb::cluster::paths::Path const> _valuePath;
107107
};
108108

109-
#if defined(__GNUC__) && (__GNUC__ > 9 || (__GNUC__ == 9 && __GNUC_MINOR__ >= 3))
109+
#if defined(__GNUC__) && (__GNUC__ > 9 || (__GNUC__ == 9 && __GNUC_MINOR__ >= 2))
110110
#pragma GCC diagnostic pop
111111
#endif
112112

0 commit comments

Comments
 (0)
0