8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4826bdd commit 49c89a3Copy full SHA for 49c89a3
include/chaiscript/dispatchkit/boxed_cast_helper.hpp
@@ -76,7 +76,7 @@ namespace chaiscript
76
typedef Result * Result_Type;
77
static Result_Type cast(const Boxed_Value &ob, const Type_Conversions *)
78
{
79
- if (!ob.get_type_info().is_const() && ob.get_type_info().bare_equal_type_info(typeid(Result)))
+ if (!ob.get_type_info().is_const() && ob.get_type_info() == typeid(Result))
80
81
return static_cast<Result *>(ob.get_ptr());
82
} else {
0 commit comments