summaryrefslogtreecommitdiff
path: root/src/context
diff options
context:
space:
mode:
Diffstat (limited to 'src/context')
-rw-r--r--src/context/cdlist.h2
-rw-r--r--src/context/cdlist_context_memory.h2
-rw-r--r--src/context/context_mm.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/context/cdlist.h b/src/context/cdlist.h
index 7edef4121..c999ecadb 100644
--- a/src/context/cdlist.h
+++ b/src/context/cdlist.h
@@ -320,7 +320,7 @@ public:
// requirements of a bidirectional iterator ?
typedef std::input_iterator_tag iterator_category;
typedef T value_type;
- typedef ptrdiff_t difference_type;
+ typedef std::ptrdiff_t difference_type;
typedef const T* pointer;
typedef const T& reference;
diff --git a/src/context/cdlist_context_memory.h b/src/context/cdlist_context_memory.h
index 2fd1ceb8c..45a44756d 100644
--- a/src/context/cdlist_context_memory.h
+++ b/src/context/cdlist_context_memory.h
@@ -437,7 +437,7 @@ public:
typedef std::input_iterator_tag iterator_category;
typedef T value_type;
- typedef ptrdiff_t difference_type;
+ typedef std::ptrdiff_t difference_type;
typedef const T* pointer;
typedef const T& reference;
diff --git a/src/context/context_mm.h b/src/context/context_mm.h
index 71f7041c7..56ef7ab59 100644
--- a/src/context/context_mm.h
+++ b/src/context/context_mm.h
@@ -150,7 +150,7 @@ class ContextMemoryAllocator {
public:
typedef size_t size_type;
- typedef ptrdiff_t difference_type;
+ typedef std::ptrdiff_t difference_type;
typedef T* pointer;
typedef T const* const_pointer;
typedef T& reference;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback