diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-01-24 17:21:56 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-02-06 18:04:09 (GMT) |
commit | 71d47115d009983665d6db4b25ea0ef40464f365 (patch) | |
tree | d7ecc6ec46b4f369d8f242b6f357dd6da2d8538a /Source/cmTarget.cxx | |
parent | 39622c995c189b4e22dfdc0e9aa29c8fce5eac17 (diff) | |
download | CMake-71d47115d009983665d6db4b25ea0ef40464f365.zip CMake-71d47115d009983665d6db4b25ea0ef40464f365.tar.gz CMake-71d47115d009983665d6db4b25ea0ef40464f365.tar.bz2 |
Use insert member instead of back_inserter.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 98cb75c..ef42b38 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -5919,8 +5919,7 @@ cmTarget::GetCompatibleInterfaces(std::string const& config) const { \ std::vector<std::string> props; \ cmSystemTools::ExpandListArgument(prop, props); \ - std::copy(props.begin(), props.end(), \ - std::inserter(compat.Props##x, compat.Props##x.begin())); \ + compat.Props##x.insert(props.begin(), props.end()); \ } CM_READ_COMPATIBLE_INTERFACE(BOOL, Bool) CM_READ_COMPATIBLE_INTERFACE(STRING, String) |