Try to fix windows compile error.

This commit is contained in:
Aymeric PELLÉ 2017-03-09 12:51:51 -05:00
parent 39d814d417
commit 883af0827c

View File

@ -383,7 +383,7 @@ namespace pugi
template <typename Type>
Type as() const
{
istringstream_t stream = as_stringstream();
istringstream_t stream(as_stringstream());
Type value;
stream >> value;
return value;
@ -760,7 +760,7 @@ namespace pugi
template <typename Type>
Type as() const
{
istringstream_t stream = as_stringstream();
istringstream_t stream(as_stringstream());
Type value;
stream >> value;
return value;