input/InputStream: add "noexcept"

This commit is contained in:
Max Kellermann
2017-12-26 11:31:05 +01:00
parent 82a79565de
commit daeb7ae949
9 changed files with 34 additions and 33 deletions

View File

@@ -21,11 +21,11 @@
#include "ProxyInputStream.hxx"
#include "tag/Tag.hxx"
ProxyInputStream::ProxyInputStream(InputStream *_input)
ProxyInputStream::ProxyInputStream(InputStream *_input) noexcept
:InputStream(_input->GetURI(), _input->mutex, _input->cond),
input(*_input) {}
ProxyInputStream::~ProxyInputStream()
ProxyInputStream::~ProxyInputStream() noexcept
{
delete &input;
}
@@ -57,7 +57,7 @@ ProxyInputStream::Check()
}
void
ProxyInputStream::Update()
ProxyInputStream::Update() noexcept
{
input.Update();
CopyAttributes();