Address some of the issues found by cppcheck

This commit is contained in:
Jason Turner
2014-03-26 16:59:41 -06:00
parent 296769ee24
commit 65b0846e41
8 changed files with 19 additions and 25 deletions

View File

@@ -50,11 +50,11 @@ namespace chaiscript
virtual Boxed_Value convert(const Boxed_Value &derived) const = 0;
virtual Boxed_Value convert_down(const Boxed_Value &base) const = 0;
const Type_Info &base()
const Type_Info &base() const
{
return m_base;
}
const Type_Info &derived()
const Type_Info &derived() const
{
return m_derived;
}