Skip to content

Commit ebe0788

Browse files
committed
kj
1 parent f93e770 commit ebe0788

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

cpp/RAT2/classHandle.hpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,11 @@ template<class base> inline ClassHandle<base> *convertString2HandlePtr(const cha
6565
{
6666

6767
std::cout << "convertString2HandlePtr: " << in << " " << std::string(in) << std::endl;
68-
uint64_t value = 105553139052784; //stoull(std::string(in));
69-
ClassHandle<base> *ptr = reinterpret_cast<ClassHandle<base> *>(value);
70-
if (!ptr->isValid())
71-
throw std::invalid_argument("callback handle is not valid");
68+
ClassHandle<base> *ptr;
69+
//uint64_t value = 105553139052784; //stoull(std::string(in));
70+
//ClassHandle<base> *ptr = reinterpret_cast<ClassHandle<base> *>(value);
71+
//if (!ptr->isValid())
72+
throw std::invalid_argument("callback handle is not valid");
7273
return ptr;
7374
}
7475

0 commit comments

Comments
 (0)