input/InputStream: add noexcept to ReadTag()

This commit is contained in:
Max Kellermann
2019-04-05 08:57:42 +02:00
parent 6addc9d6e0
commit 61e5828790
11 changed files with 12 additions and 16 deletions

View File

@@ -92,13 +92,13 @@ InputStream::LockSkip(offset_type _offset)
}
std::unique_ptr<Tag>
InputStream::ReadTag()
InputStream::ReadTag() noexcept
{
return nullptr;
}
std::unique_ptr<Tag>
InputStream::LockReadTag()
InputStream::LockReadTag() noexcept
{
const std::lock_guard<Mutex> protect(mutex);
return ReadTag();