Catch a few things found with more aggressive g++ warnings

This commit is contained in:
Jason Turner
2012-06-01 08:47:40 -06:00
parent 7cbd494123
commit 7f253bd6c1
4 changed files with 17 additions and 12 deletions

View File

@@ -48,6 +48,7 @@ namespace chaiscript
{
public:
virtual Boxed_Value convert(const Boxed_Value &derived) = 0;
const Type_Info &base()
{
return m_base;
@@ -63,6 +64,8 @@ namespace chaiscript
{
}
virtual ~Dynamic_Conversion() {}
private:
Type_Info m_base;
Type_Info m_derived;