File: iterator.hpp

package info (click to toggle)
liblas 1.2.1-5
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,672 kB
  • sloc: cpp: 10,473; sh: 9,594; ansic: 3,427; makefile: 130
file content (21 lines) | stat: -rw-r--r-- 676 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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()