NebulaGraph CPP Client  release-3.4
utils.h
1 /* Copyright (c) 2021 vesoft inc. All rights reserved.
2  *
3  * This source code is licensed under Apache 2.0 License.
4  */
5 
6 #pragma once
7 
8 #ifndef MAYBE_UNUSED
9 #if (__cplusplus >= 201703L) // c++17
10 #include <folly/CppAttributes.h>
11 #define MAYBE_UNUSED FOLLY_MAYBE_UNUSED
12 #else
13 #define MAYBE_UNUSED __attribute__((unused))
14 #endif
15 #endif