diff --git a/Source/CTest/cmCTestSVN.h b/Source/CTest/cmCTestSVN.h index dbc7fdef64..a467ede28a 100644 --- a/Source/CTest/cmCTestSVN.h +++ b/Source/CTest/cmCTestSVN.h @@ -8,6 +8,7 @@ #include "cmCTestGlobalVC.h" #include +#include #include #include @@ -70,7 +71,8 @@ private: friend struct Revision; // Info of all the repositories (root, externals and nested ones). - std::vector Repositories; + // Use std::list so the elements don't move in memory. + std::list Repositories; // Pointer to the infos of the root repository. SVNInfo* RootInfo;