File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
tests/src/integration/objects Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -216,11 +216,18 @@ class Cluster : public Object<CassCluster, cass_cluster_free> {
216
216
* otherwise (default: true)
217
217
* @return Cluster object
218
218
*/
219
+ #if defined(__GNUC__) || defined(__INTEL_COMPILER)
220
+ # pragma GCC diagnostic push
221
+ # pragma GCC diagnostic ignored "-Wdeprecated-declarations"
222
+ #endif
219
223
Cluster& with_hostname_resolution (bool enable = true ) {
220
224
EXPECT_EQ (CASS_OK, cass_cluster_set_use_hostname_resolution (
221
225
get (), (enable == true ? cass_true : cass_false)));
222
226
return *this ;
223
227
}
228
+ #if defined(__GNUC__) || defined(__INTEL_COMPILER)
229
+ # pragma GCC diagnostic pop
230
+ #endif
224
231
225
232
/* *
226
233
* Sets the number of I/O threads. This is the number of threads that will
You can’t perform that action at this time.
0 commit comments