From f09ba0f1a2dbae3bca99b35b7d8c26c457c5824c Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 8 Jun 2011 07:54:33 -0400 Subject: Fix style errors added by parent and grandparent --- Source/cmGlobalXCodeGenerator.cxx | 9 ++++++--- Source/cmSourceGroupCommand.cxx | 3 ++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 688296e..b0c095d 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -2506,7 +2506,8 @@ cmXCodeObject* cmGlobalXCodeGenerator } else { - std::vector tgt_folders = cmSystemTools::tokenize(target, "/"); + std::vector tgt_folders = + cmSystemTools::tokenize(target, "/"); cmStdString curr_tgt_folder; for(std::vector::size_type i = 0; i < tgt_folders.size();i++) { @@ -2543,13 +2544,15 @@ cmXCodeObject* cmGlobalXCodeGenerator //It's a recursive folder structure, let's find the real parent group if(std::string(sg->GetFullName()) != std::string(sg->GetName())) { - std::vector folders = cmSystemTools::tokenize(sg->GetFullName(), "\\"); + std::vector folders = + cmSystemTools::tokenize(sg->GetFullName(), "\\"); cmStdString curr_folder = cmtarget.GetName(); curr_folder += "/"; for(std::vector::size_type i = 0; i < folders.size();i++) { curr_folder += folders[i]; - std::map::iterator i_folder = this->GroupNameMap.find(curr_folder); + std::map::iterator i_folder = + this->GroupNameMap.find(curr_folder); //Create new folder if(i_folder == this->GroupNameMap.end()) { diff --git a/Source/cmSourceGroupCommand.cxx b/Source/cmSourceGroupCommand.cxx index 22f4d47..8e61d0a 100644 --- a/Source/cmSourceGroupCommand.cxx +++ b/Source/cmSourceGroupCommand.cxx @@ -27,7 +27,8 @@ bool cmSourceGroupCommand delimiter = this->Makefile->GetDefinition("SOURCE_GROUP_DELIMITER"); } - std::vector folders = cmSystemTools::tokenize(args[0], delimiter); + std::vector folders = + cmSystemTools::tokenize(args[0], delimiter); cmSourceGroup* sg = 0; sg = this->Makefile->GetSourceGroup(folders); -- cgit v0.12