input/InputStream: ReadTag() returns std::unique_ptr<Tag>

This commit is contained in:
Max Kellermann
2017-12-20 15:15:27 +01:00
parent 4c4fa68268
commit 73e69edac3
11 changed files with 41 additions and 37 deletions

View File

@@ -19,6 +19,7 @@
#include "config.h"
#include "ProxyInputStream.hxx"
#include "tag/Tag.hxx"
ProxyInputStream::ProxyInputStream(InputStream *_input)
:InputStream(_input->GetURI(), _input->mutex, _input->cond),
@@ -75,7 +76,7 @@ ProxyInputStream::IsEOF() noexcept
return input.IsEOF();
}
Tag *
std::unique_ptr<Tag>
ProxyInputStream::ReadTag()
{
return input.ReadTag();