From 006229278b54ee92003100773a0430565fb8fe87 Mon Sep 17 00:00:00 2001 From: Sebastian Holtermann Date: Thu, 23 May 2019 14:49:54 +0200 Subject: Use cmAppend to append ranges to std::vector instances --- Source/cmSetTestsPropertiesCommand.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source/cmSetTestsPropertiesCommand.cxx') diff --git a/Source/cmSetTestsPropertiesCommand.cxx b/Source/cmSetTestsPropertiesCommand.cxx index e27c675c60..cc9587ca62 100644 --- a/Source/cmSetTestsPropertiesCommand.cxx +++ b/Source/cmSetTestsPropertiesCommand.cxx @@ -4,6 +4,7 @@ #include +#include "cmAlgorithms.h" #include "cmMakefile.h" #include "cmTest.h" @@ -30,7 +31,7 @@ bool cmSetTestsPropertiesCommand::InitialPass( this->SetError("called with incorrect number of arguments."); return false; } - propertyPairs.insert(propertyPairs.end(), j, args.end()); + cmAppend(propertyPairs, j, args.end()); break; } numFiles++; -- cgit v1.2.1