Loading src/core/utils/log.h +2 −1 Original line number Diff line number Diff line Loading @@ -283,7 +283,8 @@ namespace allpix { */ #define CONCAT_IMPL(x, y) x##y #define CONCAT(x, y) CONCAT_IMPL(x, y) #define GENERATE_LOG_VAR(Count) static std::atomic<int> CONCAT(local___FUNCTION__, __LINE__) {Count} #define GENERATE_LOG_VAR(Count) \ static std::atomic<int> CONCAT(local___FUNCTION__, __LINE__) { Count } #define GET_LOG_VARIABLE() CONCAT(local___FUNCTION__, __LINE__) ///@} Loading Loading
src/core/utils/log.h +2 −1 Original line number Diff line number Diff line Loading @@ -283,7 +283,8 @@ namespace allpix { */ #define CONCAT_IMPL(x, y) x##y #define CONCAT(x, y) CONCAT_IMPL(x, y) #define GENERATE_LOG_VAR(Count) static std::atomic<int> CONCAT(local___FUNCTION__, __LINE__) {Count} #define GENERATE_LOG_VAR(Count) \ static std::atomic<int> CONCAT(local___FUNCTION__, __LINE__) { Count } #define GET_LOG_VARIABLE() CONCAT(local___FUNCTION__, __LINE__) ///@} Loading