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

@@ -214,7 +214,7 @@ DecoderBridge::DoSendTag(const Tag &tag)
}
bool
DecoderBridge::UpdateStreamTag(InputStream *is)
DecoderBridge::UpdateStreamTag(InputStream *is) noexcept
{
auto tag = is != nullptr
? is->LockReadTag()

View File

@@ -174,7 +174,7 @@ private:
*/
DecoderCommand DoSendTag(const Tag &tag);
bool UpdateStreamTag(InputStream *is);
bool UpdateStreamTag(InputStream *is) noexcept;
};
#endif