summaryrefslogtreecommitdiffstats
path: root/Source/cmFileCommand.cxx
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-08-06 10:25:12 (GMT)
committerRegina Pfeifer <regina@mailbox.org>2019-08-06 10:25:12 (GMT)
commit2b785875fbc9815b1fc528a90cf008a2b13f0084 (patch)
tree8b709ff6484f57740f996888614ea9ea89e69a6a /Source/cmFileCommand.cxx
parent9703c65718689e56bfa100f1965b6a83af87e090 (diff)
downloadCMake-2b785875fbc9815b1fc528a90cf008a2b13f0084.zip
CMake-2b785875fbc9815b1fc528a90cf008a2b13f0084.tar.gz
CMake-2b785875fbc9815b1fc528a90cf008a2b13f0084.tar.bz2
cmFileCommand: turn into free function
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r--Source/cmFileCommand.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx
index 652e3c5..3292dc0 100644
--- a/Source/cmFileCommand.cxx
+++ b/Source/cmFileCommand.cxx
@@ -2770,8 +2770,8 @@ bool HandleGetRuntimeDependenciesCommand(std::vector<std::string> const& args,
} // namespace
-bool cmFileCommand::InitialPass(std::vector<std::string> const& args,
- cmExecutionStatus& status)
+bool cmFileCommand(std::vector<std::string> const& args,
+ cmExecutionStatus& status)
{
if (args.size() < 2) {
status.SetError("must be called with at least two arguments.");