gcc Var Date conversion fix

This commit is contained in:
aleks-f 2013-02-09 22:48:56 -06:00
parent d6042065ec
commit 6a859abb41

View File

@ -145,7 +145,7 @@ Var::operator Date () const
if (!_pHolder)
throw InvalidAccessException("Can not convert empty value.");
if (typeid(Date) == _pHolder->type())
if (typeid(Date) == content()->type())
return extract<Date>();
else
{