diff --git a/src/parsers/srdf.cpp b/src/parsers/srdf.cpp
index 965465047823197a60e8ae696d25e10a6e4d9001..4ca018cdef2affbea2e25960488b25fa69724337 100644
--- a/src/parsers/srdf.cpp
+++ b/src/parsers/srdf.cpp
@@ -74,9 +74,9 @@ namespace se3
               continue;
             }
 
-            typedef std::vector<CollisionPair> CollisionPairs_t;
+            typedef GeometryModel::CollisionPairVector CollisionPairVector;
             bool didRemove = false;
-            for(CollisionPairs_t::iterator _colPair = geomModel.collisionPairs.begin();
+            for(CollisionPairVector::iterator _colPair = geomModel.collisionPairs.begin();
                 _colPair != geomModel.collisionPairs.end(); ) {
               const CollisionPair& colPair (*_colPair);
               bool remove =