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()
|