Try to fix windows compile error.
This commit is contained in:
parent
39d814d417
commit
883af0827c
@ -383,7 +383,7 @@ namespace pugi
|
|||||||
template <typename Type>
|
template <typename Type>
|
||||||
Type as() const
|
Type as() const
|
||||||
{
|
{
|
||||||
istringstream_t stream = as_stringstream();
|
istringstream_t stream(as_stringstream());
|
||||||
Type value;
|
Type value;
|
||||||
stream >> value;
|
stream >> value;
|
||||||
return value;
|
return value;
|
||||||
@ -760,7 +760,7 @@ namespace pugi
|
|||||||
template <typename Type>
|
template <typename Type>
|
||||||
Type as() const
|
Type as() const
|
||||||
{
|
{
|
||||||
istringstream_t stream = as_stringstream();
|
istringstream_t stream(as_stringstream());
|
||||||
Type value;
|
Type value;
|
||||||
stream >> value;
|
stream >> value;
|
||||||
return value;
|
return value;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user