constness fix

This commit is contained in:
Marc Zinnschlag 2012-03-30 17:01:23 +02:00
parent d717b7b9dd
commit a1d3516e0a

View file

@ -39,7 +39,7 @@ namespace MWWorld
return mPtr.empty();
}
const std::type_info& getType()
const std::type_info& getType() const
{
assert (!mPtr.empty());
return mPtr.type();