Commit d20b545a authored by Max Kellermann's avatar Max Kellermann

input/InputStream: remove methods Lock() and Unlock()

These methods are not exception-safe; std::lock_guard should better be used.
parent 20d01be1
......@@ -142,14 +142,6 @@ public:
return uri.c_str();
}
void Lock() noexcept {
mutex.lock();
}
void Unlock() noexcept {
mutex.unlock();
}
/**
* Check for errors that may have occurred in the I/O thread.
* Throws std::runtime_error on error.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment