1 #pragma once 2 3 #define FRAMEWORK_MAYBE_UNUSED 4 #if defined(__has_cpp_attribute) 5 #if __has_cpp_attribute(maybe_unused) 6 #undef FRAMEWORK_MAYBE_UNUSED 7 #define FRAMEWORK_MAYBE_UNUSED [[maybe_unused]] 8 #endif 9 #endif 10
1 #pragma once 2 3 #define FRAMEWORK_MAYBE_UNUSED 4 #if defined(__has_cpp_attribute) 5 #if __has_cpp_attribute(maybe_unused) 6 #undef FRAMEWORK_MAYBE_UNUSED 7 #define FRAMEWORK_MAYBE_UNUSED [[maybe_unused]] 8 #endif 9 #endif 10