From f93b1e6d48ad3a1abe09f8bdbb450a28e788d1cf Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Tue, 9 Mar 2004 07:50:45 -0500 Subject: [PATCH] ENH: Try to remove warning --- Source/cmMakefile.cxx | 2 +- Source/cmMakefile.h | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 51a07b81c..f53b3bb10 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -2271,7 +2271,7 @@ void cmMakefile::ConfigureString(const std::string& input, } int cmMakefile::ConfigureFile(const char* infile, const char* outfile, - int copyonly, int atOnly, int escapeQuotes) + bool copyonly, bool atOnly, bool escapeQuotes) { std::string soutfile = outfile; std::string sinfile = infile; diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 3c26c1692..faa49869e 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -551,6 +551,12 @@ public: void ConfigureString(const std::string& input, std::string& output, bool atOnly, bool escapeQuotes); + /** + * Copy file but change lines acording to ConfigureString + */ + int ConfigureFile(const char* infile, const char* outfile, + bool copyonly, bool atOnly, bool escapeQuotes); + /** * find what source group this source is in */ @@ -629,12 +635,6 @@ public: * Return a location of a file in cmake or custom modules directory */ std::string GetModulesFile(const char* name); - - /** - * Copy file but change lines acording to ConfigureString - */ - int ConfigureFile(const char* infile, const char* outfile, - int copyonly, int atOnly, int escapeQuotes); protected: // add link libraries and directories to the target