aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/InputStream.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/input/InputStream.hxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/input/InputStream.hxx b/src/input/InputStream.hxx
index 65840ba27..4a9d7832a 100644
--- a/src/input/InputStream.hxx
+++ b/src/input/InputStream.hxx
@@ -109,6 +109,13 @@ public:
}
/**
+ * Close the input stream and free resources.
+ *
+ * The caller must not lock the mutex.
+ */
+ virtual ~InputStream();
+
+ /**
* Opens a new input stream. You may not access it until the "ready"
* flag is set.
*
@@ -133,13 +140,6 @@ public:
Mutex &mutex, Cond &cond,
Error &error);
- /**
- * Close the input stream and free resources.
- *
- * The caller must not lock the mutex.
- */
- void Close();
-
const InputPlugin &GetPlugin() const {
return plugin;
}