Use one set of parentheses around gcc attribute deprecated arg (#7413)

Double parentheses break some other compilers which pretend to be gcc.
Single set doesn't seem to break anything.
This commit is contained in:
serhii-pavlovskyi-altran authored and GitHub committed 2021-09-13 13:56:43 +03:00
1 parent 10505809ec
commit b11b1d44cb
2 files changed
+2 -2

No files matched your search

@@ -39,7 +39,7 @@
#elif defined __INTEL_COMPILER
# define INFERENCE_ENGINE_DEPRECATED(msg) __attribute__((deprecated(msg)))
#elif defined(__GNUC__)
# define INFERENCE_ENGINE_DEPRECATED(msg) __attribute__((deprecated((msg))))
# define INFERENCE_ENGINE_DEPRECATED(msg) __attribute__((deprecated(msg)))
#else
# define INFERENCE_ENGINE_DEPRECATED(msg)
#endif
@@ -25,7 +25,7 @@
# define OPENVINO_DEPRECATED(msg) __attribute__((deprecated(msg)))
# define OPENVINO_ENUM_DEPRECATED(msg) OPENVINO_DEPRECATED(msg)
#elif defined(__GNUC__)
# define OPENVINO_DEPRECATED(msg) __attribute__((deprecated((msg))))
# define OPENVINO_DEPRECATED(msg) __attribute__((deprecated(msg)))
# if __GNUC__ < 6 && !defined(__clang__)
# define OPENVINO_ENUM_DEPRECATED(msg)
# else