Skip to content

Commit 16f1bdb

Browse files
committed
Fix another deprecated warning around retry policy tests
1 parent 7319176 commit 16f1bdb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/src/integration/objects/retry_policy.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,12 @@
1818

1919
using namespace test::driver;
2020

21+
#if defined(__GNUC__) || defined(__INTEL_COMPILER)
22+
# pragma GCC diagnostic push
23+
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
24+
#endif
2125
DowngradingConsistencyRetryPolicy::DowngradingConsistencyRetryPolicy()
2226
: RetryPolicy(cass_retry_policy_downgrading_consistency_new()) {}
27+
#if defined(__GNUC__) || defined(__INTEL_COMPILER)
28+
# pragma GCC diagnostic pop
29+
#endif

0 commit comments

Comments
 (0)