Skip to content

Commit ef8ec8e

Browse files
committed
silence spurious const warning
1 parent 5024d3a commit ef8ec8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/viam/sdk/common/instance.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Instance::~Instance() {
4040
Instance& Instance::current() {
4141
if (!current_instance.load()) {
4242
// This variable declaration calls the default ctor, storing a current instance.
43-
static Instance inst;
43+
static Instance inst; // NOLINT (misc-const-correctness)
4444
}
4545

4646
Instance* current = current_instance.load();

0 commit comments

Comments
 (0)