Fix MSVC compiler warning

reg. 'FALLTHROUGH': macro redefinition (C4005)
This commit is contained in:
Joachim Schmitz 2023-10-27 18:16:17 +02:00 committed by Igor Korsukov
parent 513c4f9772
commit 92b1a7c872

View file

@ -89,6 +89,7 @@ SOFTWARE.
#define NOT_SUPPORTED_USE(use) LOGW() << "Not supported!! Use:" << use
#if __has_cpp_attribute(fallthrough)
#undef FALLTHROUGH
#define FALLTHROUGH [[fallthrough]]
#else
#define FALLTHROUGH (void)0