summaryrefslogtreecommitdiffhomepage
path: root/digital/ucoolib/ucoolib
diff options
context:
space:
mode:
Diffstat (limited to 'digital/ucoolib/ucoolib')
-rw-r--r--digital/ucoolib/ucoolib/intf/stream.hh5
1 files changed, 3 insertions, 2 deletions
diff --git a/digital/ucoolib/ucoolib/intf/stream.hh b/digital/ucoolib/ucoolib/intf/stream.hh
index d0c7638f..c6912141 100644
--- a/digital/ucoolib/ucoolib/intf/stream.hh
+++ b/digital/ucoolib/ucoolib/intf/stream.hh
@@ -31,8 +31,6 @@ namespace ucoo {
class Stream
{
public:
- /// Default constructor.
- Stream ();
/// Set whether operations on this stream should block when no data is
/// available.
virtual void block (bool block = true);
@@ -53,6 +51,9 @@ class Stream
/// Shortcut to write one character. Return -1 on error.
int putc (int c);
protected:
+ /// Default constructor.
+ Stream ();
+ protected:
/// Current blocking operation flag.
bool block_;
};