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

These methods are not exception-safe; std::lock_guard should better be
used.
This commit is contained in:
Max Kellermann 2018-01-20 18:51:23 +01:00
parent 20d01be1ad
commit d20b545a94
1 changed files with 0 additions and 8 deletions

View File

@ -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.