aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/stream.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/stream.h b/common/stream.h
index b9b64bbfd7..c7890e5bdb 100644
--- a/common/stream.h
+++ b/common/stream.h
@@ -35,6 +35,8 @@ class String;
*/
class Stream {
public:
+ virtual ~Stream() {}
+
/**
* Returns true if any I/O failure occured.
* This flag is never cleared automatically. In order to clear it,