summaryrefslogtreecommitdiff
path: root/ndb/include/util/OutputStream.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ndb/include/util/OutputStream.hpp')
-rw-r--r--ndb/include/util/OutputStream.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ndb/include/util/OutputStream.hpp b/ndb/include/util/OutputStream.hpp
index 460915e12e7..c0da886ca21 100644
--- a/ndb/include/util/OutputStream.hpp
+++ b/ndb/include/util/OutputStream.hpp
@@ -24,6 +24,7 @@
*/
class OutputStream {
public:
+ OutputStream() {}
virtual ~OutputStream() {}
virtual int print(const char * fmt, ...) = 0;
virtual int println(const char * fmt, ...) = 0;
@@ -60,6 +61,7 @@ public:
class NullOutputStream : public OutputStream {
public:
+ NullOutputStream() {}
int print(const char * /* unused */, ...) { return 1;}
int println(const char * /* unused */, ...) { return 1;}
};