input/Icy: use std::unique_ptr<Tag>

This commit is contained in:
Max Kellermann
2017-12-20 15:13:22 +01:00
parent 43d2fd73ab
commit 4c4fa68268
2 changed files with 11 additions and 17 deletions

View File

@@ -24,6 +24,8 @@
#include "IcyMetaDataParser.hxx"
#include "Compiler.h"
#include <memory>
struct Tag;
/**
@@ -35,12 +37,12 @@ class IcyInputStream final : public ProxyInputStream {
/**
* The #Tag object ready to be requested via ReadTag().
*/
Tag *input_tag;
std::unique_ptr<Tag> input_tag;
/**
* The #Tag object ready to be requested via ReadTag().
*/
Tag *icy_tag;
std::unique_ptr<Tag> icy_tag;
offset_type override_offset;