Move to pointers for Dynamic_Cast_Conversions to avoid problems with using the class before it's defined
This commit is contained in:
@@ -395,7 +395,7 @@ namespace chaiscript
|
||||
template<typename Type>
|
||||
typename detail::Cast_Helper<Type>::Result_Type boxed_cast(const Boxed_Value &bv) const
|
||||
{
|
||||
return chaiscript::boxed_cast<Type>(bv, m_conversions);
|
||||
return chaiscript::boxed_cast<Type>(bv, &m_conversions);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user