Skip to content

Commit d31ea3a

Browse files
author
Aidan Lee
committed
remove addition since there must be something else weird going on
1 parent e50dab9 commit d31ea3a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

include/cpp/Pointer.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,6 @@ class Pointer<void>
350350
template<typename O> inline void set_ref(O val) { }
351351

352352
operator Dynamic () const { return CreateDynamicPointer(ptr); }
353-
template<class T>
354-
operator Pointer<T>() const { return Pointer<T>(static_cast<T*>(ptr)); }
355353
//operator hx::Val () const { return CreateDynamicPointer((void *)ptr); }
356354
operator void * () { return ptr; }
357355
void * get_raw() { return ptr; }

0 commit comments

Comments
 (0)