fix - pass value by reference
This commit is contained in:
parent
dd0ef307ee
commit
8b4ff85b0d
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@
|
|||
|
||||
// operator>> needed by mapnik::spatial_index<Value, Filter, InputStream>
|
||||
template <typename InputStream>
|
||||
InputStream & operator>>(InputStream & in, std::streampos pos)
|
||||
InputStream & operator>>(InputStream & in, std::streampos & pos)
|
||||
{
|
||||
in.read(reinterpret_cast<char*>(&pos), sizeof(std::streampos));
|
||||
return in;
|
||||
|
|
Loading…
Reference in a new issue