From a2eb14f3b379c966b259825c91c154f475f13eb6 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 2 Nov 2014 13:00:25 +0100 Subject: [PATCH] AsyncInputStream: add method ClearTag() --- src/input/AsyncInputStream.hxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/input/AsyncInputStream.hxx b/src/input/AsyncInputStream.hxx index 7935f1a17..d1f0c3b9d 100644 --- a/src/input/AsyncInputStream.hxx +++ b/src/input/AsyncInputStream.hxx @@ -83,6 +83,10 @@ protected: */ void SetTag(Tag *_tag); + void ClearTag() { + SetTag(nullptr); + } + void Pause(); bool IsPaused() const {