Fix compilation with gcc-4.6.0, patch provided by Anton Gladky <gladky.anton@gmail.com>,
working on debian packaging.
This commit is contained in:
Thomas Capricelli
2011-05-05 00:48:13 +02:00
parent d9232a96aa
commit 7b122ed158
5 changed files with 7 additions and 7 deletions

View File

@@ -38,7 +38,7 @@ namespace Eigen {
{
public:
typedef size_t size_type;
typedef ptrdiff_t difference_type;
typedef std::ptrdiff_t difference_type;
typedef T* pointer;
typedef const T* const_pointer;
typedef T& reference;