Use insert member instead of back_inserter.

This commit is contained in:
Stephen Kelly 2015-01-24 18:21:56 +01:00
parent 39622c995c
commit 71d47115d0
1 changed files with 1 additions and 2 deletions

View File

@ -5919,8 +5919,7 @@ cmTarget::GetCompatibleInterfaces(std::string const& config) const
{ \ { \
std::vector<std::string> props; \ std::vector<std::string> props; \
cmSystemTools::ExpandListArgument(prop, props); \ cmSystemTools::ExpandListArgument(prop, props); \
std::copy(props.begin(), props.end(), \ compat.Props##x.insert(props.begin(), props.end()); \
std::inserter(compat.Props##x, compat.Props##x.begin())); \
} }
CM_READ_COMPATIBLE_INTERFACE(BOOL, Bool) CM_READ_COMPATIBLE_INTERFACE(BOOL, Bool)
CM_READ_COMPATIBLE_INTERFACE(STRING, String) CM_READ_COMPATIBLE_INTERFACE(STRING, String)