diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-08-25 21:25:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-08-30 15:07:05 (GMT) |
commit | 2b4c32c95f9cd3282ee834a2d7eeba9ab56eff0b (patch) | |
tree | 23d2e31296e0d358290e976d9341e3c1b227c484 /Source/cmDepends.cxx | |
parent | 82d9bbf2b713de4db2810c202db26c4b18a22e9c (diff) | |
download | CMake-2b4c32c95f9cd3282ee834a2d7eeba9ab56eff0b.zip CMake-2b4c32c95f9cd3282ee834a2d7eeba9ab56eff0b.tar.gz CMake-2b4c32c95f9cd3282ee834a2d7eeba9ab56eff0b.tar.bz2 |
clang-format: format all code as Cpp11
Diffstat (limited to 'Source/cmDepends.cxx')
-rw-r--r-- | Source/cmDepends.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmDepends.cxx b/Source/cmDepends.cxx index a0775b3..fc2bd0f 100644 --- a/Source/cmDepends.cxx +++ b/Source/cmDepends.cxx @@ -42,7 +42,7 @@ bool cmDepends::Write(std::ostream& makeDepends, std::ostream& internalDepends) std::vector<std::string> pairs; cmSystemTools::ExpandListArgument(srcStr, pairs); - std::map<std::string, std::set<std::string> > dependencies; + std::map<std::string, std::set<std::string>> dependencies; for (std::vector<std::string>::iterator si = pairs.begin(); si != pairs.end();) { // Get the source and object file. @@ -53,7 +53,7 @@ bool cmDepends::Write(std::ostream& makeDepends, std::ostream& internalDepends) std::string const& obj = *si++; dependencies[obj].insert(src); } - for (std::map<std::string, std::set<std::string> >::const_iterator it = + for (std::map<std::string, std::set<std::string>>::const_iterator it = dependencies.begin(); it != dependencies.end(); ++it) { |