diff options
author | Pixel <pixel@nobis-crew.org> | 2011-10-13 23:49:42 -0700 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2011-10-13 23:49:42 -0700 |
commit | 4974182b6aabca78940976984fca02a9b2e69795 (patch) | |
tree | 95a61ce2360012d5cae6524488d46e86e3857ea1 | |
parent | fd68b8e874c8b3b134d43dd43cc1ce9bf8a99b3e (diff) |
Having a template here is useless...
-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; } |