diff options
-rw-r--r-- | includes/Handle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/Handle.h b/includes/Handle.h index e3e22cd..8275199 100644 --- a/includes/Handle.h +++ b/includes/Handle.h @@ -47,7 +47,7 @@ class Handle { class IO { public: - template<class T> IO(T * h) { setHandle(h); } + IO(Handle * h) { setHandle(h); } ~IO() { m_h->delRef(); } IO(const IO & io) { setHandle(io.m_h); } Handle * operator->() { return m_h; } |