1 parent 93e62c9 commit 9094abeCopy full SHA for 9094abe
1 file changed
src/java_symbols.hpp
@@ -95,7 +95,7 @@ template<typename Type>
95
struct Mutex
96
{
97
98
- Locked<Type, std::mutex> lock()
+ [[nodiscard]] Locked<Type, std::mutex> lock()
99
100
return Locked(value_, mutex_);
101
}
0 commit comments