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 a834b577bb3..ccf88a72359 100644
--- a/ndb/include/util/OutputStream.hpp
+++ b/ndb/include/util/OutputStream.hpp
@@ -25,6 +25,7 @@
*/
class OutputStream {
public:
+ OutputStream() {}
virtual ~OutputStream() {}
virtual int print(const char * fmt, ...) = 0;
virtual int println(const char * fmt, ...) = 0;
@@ -61,6 +62,7 @@ public:
class NullOutputStream : public OutputStream {
public:
+ NullOutputStream() {}
int print(const char * /* unused */, ...) { return 1;}
int println(const char * /* unused */, ...) { return 1;}
};