We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5024d3a commit ef8ec8eCopy full SHA for ef8ec8e
src/viam/sdk/common/instance.cpp
@@ -40,7 +40,7 @@ Instance::~Instance() {
40
Instance& Instance::current() {
41
if (!current_instance.load()) {
42
// This variable declaration calls the default ctor, storing a current instance.
43
- static Instance inst;
+ static Instance inst; // NOLINT (misc-const-correctness)
44
}
45
46
Instance* current = current_instance.load();
0 commit comments