Get mutlifile compilation working again and add a test for it

This commit is contained in:
Jason Turner
2010-10-22 21:30:58 +00:00
parent bff5b8bce0
commit 67bad374a9
9 changed files with 1474 additions and 1468 deletions

View File

@@ -251,7 +251,7 @@ namespace chaiscript
return dynamic_cast_converts(user_type<Base>(), user_type<Derived>());
}
bool dynamic_cast_converts(const Type_Info &base, const Type_Info &derived)
static bool dynamic_cast_converts(const Type_Info &base, const Type_Info &derived)
{
return detail::Dynamic_Conversions::get().has_conversion(base, derived);
}