mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Apply cppcoreguidelines-avoid-non-const-global-variables
This commit is contained in:
committed by
Dennis Klein
parent
1ee9d2d222
commit
cf9b45cd75
@@ -43,11 +43,11 @@ struct InstanceLimiter
|
||||
}
|
||||
}
|
||||
|
||||
static int fCount;
|
||||
static int fCount; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
|
||||
};
|
||||
|
||||
template<typename Tag, int Max>
|
||||
int InstanceLimiter<Tag, Max>::fCount(0);
|
||||
int InstanceLimiter<Tag, Max>::fCount(0); // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
|
||||
|
||||
} // namespace fair::mq::tools
|
||||
|
||||
|
Reference in New Issue
Block a user