Skip to content

Commit d7ffc24

Browse files
authored
Fix SetLocked operator() method signature
1 parent d5e746b commit d7ffc24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/tensorstore/tensorstore_class.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2911,7 +2911,7 @@ struct ArrayStorageStatisticsAccessor {
29112911

29122912
struct SetLocked {
29132913
void operator()(with_handle<ArrayStorageStatistics&> self,
2914-
std::optional<bool> value) {
2914+
std::optional<bool> value) const {
29152915
ScopedPyCriticalSection cs(self.handle.ptr());
29162916
return ArrayStorageStatisticsAccessor::Set(self.value, std::move(value));
29172917
}

0 commit comments

Comments
 (0)