From 8b4ff85b0d7266f4d226360f510ac41e578aab10 Mon Sep 17 00:00:00 2001 From: artemp Date: Fri, 25 Sep 2015 15:26:02 +0100 Subject: [PATCH] fix - pass value by reference --- plugins/input/shape/shape_index_featureset.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/input/shape/shape_index_featureset.cpp b/plugins/input/shape/shape_index_featureset.cpp index f5084c660..f1fff2ca1 100644 --- a/plugins/input/shape/shape_index_featureset.cpp +++ b/plugins/input/shape/shape_index_featureset.cpp @@ -43,7 +43,7 @@ // operator>> needed by mapnik::spatial_index template -InputStream & operator>>(InputStream & in, std::streampos pos) +InputStream & operator>>(InputStream & in, std::streampos & pos) { in.read(reinterpret_cast(&pos), sizeof(std::streampos)); return in;