summaryrefslogtreecommitdiffstats
path: root/Source/cmListCommand.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-05-15 13:57:49 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-05-15 13:57:49 (GMT)
commitcb2a9be622d612c462ec901bce6a5bab7b1462d7 (patch)
treedd2230f0bc34c97853298cc0f56bb46288c311c5 /Source/cmListCommand.cxx
parent3b92585cf088d2d316755b77e51a13b4c0173b8b (diff)
downloadCMake-cb2a9be622d612c462ec901bce6a5bab7b1462d7.zip
CMake-cb2a9be622d612c462ec901bce6a5bab7b1462d7.tar.gz
CMake-cb2a9be622d612c462ec901bce6a5bab7b1462d7.tar.bz2
ENH: Change REMOVE and REMOVE_ITEM to REMOVE_AT and REMOVE_ITEM
Diffstat (limited to 'Source/cmListCommand.cxx')
-rw-r--r--Source/cmListCommand.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmListCommand.cxx b/Source/cmListCommand.cxx
index e671b6b..1e8b7eb 100644
--- a/Source/cmListCommand.cxx
+++ b/Source/cmListCommand.cxx
@@ -46,9 +46,9 @@ bool cmListCommand::InitialPass(std::vector<std::string> const& args)
{
return this->HandleInsertCommand(args);
}
- if(subCommand == "REMOVE")
+ if(subCommand == "REMOVE_AT")
{
- return this->HandleRemoveCommand(args);
+ return this->HandleRemoveAtCommand(args);
}
if(subCommand == "REMOVE_ITEM")
{
@@ -250,7 +250,8 @@ bool cmListCommand::HandleInsertCommand(std::vector<std::string> const& args)
}
//----------------------------------------------------------------------------
-bool cmListCommand::HandleRemoveCommand(std::vector<std::string> const& args)
+bool cmListCommand
+::HandleRemoveItemCommand(std::vector<std::string> const& args)
{
if(args.size() < 3)
{
@@ -295,8 +296,7 @@ bool cmListCommand::HandleRemoveCommand(std::vector<std::string> const& args)
}
//----------------------------------------------------------------------------
-bool cmListCommand
-::HandleRemoveItemCommand(std::vector<std::string> const& args)
+bool cmListCommand::HandleRemoveAtCommand(std::vector<std::string> const& args)
{
if(args.size() < 3)
{