summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2012-09-10 08:37:21 -0700
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2012-09-10 08:37:21 -0700
commit80afb9de6610ee5e47530dbe96bf5d71e042178a (patch)
tree50554b1e6b1783fcd9510b18e2b15605db213dbf /includes
parent13efd801f8c2ac83f640980afe3f852b3dac93bb (diff)
Being pedantic.
Diffstat (limited to 'includes')
-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>