liblas (1.2.1-5) iterator.hpp

Summary

 include/liblas/iterator.hpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

    
download this patch

Patch contents

Index: liblas/include/liblas/iterator.hpp
===================================================================
--- liblas.orig/include/liblas/iterator.hpp	2011-05-14 19:50:30.000000000 +0200
+++ liblas/include/liblas/iterator.hpp	2011-05-14 19:55:24.000000000 +0200
@@ -46,6 +46,7 @@
 #include <liblas/laswriter.hpp>
 #include <iterator>
 #include <cassert>
+#include <cstddef>
 
 namespace liblas {
 
@@ -63,7 +64,7 @@
     typedef T value_type;
     typedef T const* pointer;
     typedef T const& reference;
-    typedef ptrdiff_t difference_type;
+    typedef std::ptrdiff_t difference_type;
 
     /// Initializes iterator pointing to pass-the-end.
     reader_iterator()