X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=segmentation%2Ftree.hh;h=2365cf0e4e07897f13ee6ba10c9f5db2ec176795;hb=b2fd61648c05339dd302e102361c22c4b11d48ff;hp=fa4776376c5bb452c543966b41f790fadbfd0412;hpb=4d23648e968ee89bb44ae62b47eb666ba7112d8b;p=clitk.git diff --git a/segmentation/tree.hh b/segmentation/tree.hh index fa47763..2365cf0 100644 --- a/segmentation/tree.hh +++ b/segmentation/tree.hh @@ -90,7 +90,7 @@ class tree { /// Base class for iterators, only pointers stored, no traversal logic. #ifdef __SGI_STL_PORT - class iterator_base : public stlport::bidirectional_iterator { + class iterator_base : public stlport::bidirectional_iterator { #else class iterator_base { #endif @@ -99,7 +99,7 @@ class tree { typedef T* pointer; typedef T& reference; typedef size_t size_type; - typedef ptrdiff_t difference_type; + typedef std::ptrdiff_t difference_type; typedef std::bidirectional_iterator_tag iterator_category; iterator_base();