mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 10:32:56 +01:00
gcc Var Date conversion fix
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user