mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 18:45:10 +01:00
gcc Var Date conversion fix
This commit is contained in:
parent
d6042065ec
commit
6a859abb41
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user