From 2b785875fbc9815b1fc528a90cf008a2b13f0084 Mon Sep 17 00:00:00 2001 From: Regina Pfeifer Date: Tue, 6 Aug 2019 12:25:12 +0200 Subject: cmFileCommand: turn into free function --- Source/cmFileCommand.h | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) (limited to 'Source/cmFileCommand.h') diff --git a/Source/cmFileCommand.h b/Source/cmFileCommand.h index b5645400cd..8c9b21990a 100644 --- a/Source/cmFileCommand.h +++ b/Source/cmFileCommand.h @@ -8,33 +8,9 @@ #include #include -#include "cm_memory.hxx" - -#include "cmCommand.h" - class cmExecutionStatus; -/** \class cmFileCommand - * \brief Command for manipulation of files - * - */ -class cmFileCommand : public cmCommand -{ -public: - /** - * This is a virtual constructor for the command. - */ - std::unique_ptr Clone() override - { - return cm::make_unique(); - } - - /** - * This is called when the command is first encountered in - * the CMakeLists.txt file. - */ - bool InitialPass(std::vector const& args, - cmExecutionStatus& status) override; -}; +bool cmFileCommand(std::vector const& args, + cmExecutionStatus& status); #endif -- cgit v1.2.1