We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f93e770 commit ebe0788Copy full SHA for ebe0788
1 file changed
cpp/RAT2/classHandle.hpp
@@ -65,10 +65,11 @@ template<class base> inline ClassHandle<base> *convertString2HandlePtr(const cha
65
{
66
67
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");
+ ClassHandle<base> *ptr;
+ //uint64_t value = 105553139052784; //stoull(std::string(in));
+ //ClassHandle<base> *ptr = reinterpret_cast<ClassHandle<base> *>(value);
+ //if (!ptr->isValid())
72
+ throw std::invalid_argument("callback handle is not valid");
73
return ptr;
74
}
75
0 commit comments