summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/Handle.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/Handle.h b/includes/Handle.h
index 7c502ea..e9e94b4 100644
--- a/includes/Handle.h
+++ b/includes/Handle.h
@@ -91,10 +91,9 @@ class HPrinter : public Handle {
};
class IOBase {
- public:
+ protected:
IOBase() : m_h(NULL) { }
~IOBase() { if (m_h) m_h->delRef(); }
- protected:
void setHandle(Handle * h) { m_h = h; if (m_h) m_h->addRef(); }
Handle * m_h;
template<class T>