From 2d25f8f036c79063016d4ce546a064a2171e5b12 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 27 Nov 2005 17:16:30 +0000 Subject: [PATCH] Qualified ptrdiff_t with std:: (fixes a failure on CW 9.4) [SVN r31790] --- test/shared_ptr_alloc2_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/shared_ptr_alloc2_test.cpp b/test/shared_ptr_alloc2_test.cpp index 3eb3c46..93f9d26 100644 --- a/test/shared_ptr_alloc2_test.cpp +++ b/test/shared_ptr_alloc2_test.cpp @@ -41,7 +41,7 @@ public: typedef T const & const_reference; typedef T value_type; typedef std::size_t size_type; - typedef ptrdiff_t difference_type; + typedef std::ptrdiff_t difference_type; private: