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

@@ -325,13 +325,13 @@ public:
* @return a tag object or nullptr if the tag has not changed
* since the last call
*/
virtual std::unique_ptr<Tag> ReadTag();
virtual std::unique_ptr<Tag> ReadTag() noexcept;
/**
* Wrapper for ReadTag() which locks and unlocks the mutex;
* the caller must not be holding it already.
*/
std::unique_ptr<Tag> LockReadTag();
std::unique_ptr<Tag> LockReadTag() noexcept;
/**
* Returns true if the next read operation will not block: either data