/* * Compile-only test to ensure Logger::mStop is atomic. */ #define private public #include "../src/Logger.h" #undef private #include #include int main() { using StopType = decltype(std::declval().mStop); static_assert(std::is_same>::value, "Logger::mStop should be atomic"); return 0; }