summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2018-04-30 14:50:23 (GMT)
committerBrad King <brad.king@kitware.com>2018-05-01 14:25:49 (GMT)
commit0c47ed643046428617161959a5784d3d70cf5a1f (patch)
tree44f8cc2dc6c233d2706ee125b27f11ddd8a15d23 /Source/cmMakefile.h
parente13fa223fc870ea95c6a1cfa09b61b527a1c2db5 (diff)
downloadCMake-0c47ed643046428617161959a5784d3d70cf5a1f.zip
CMake-0c47ed643046428617161959a5784d3d70cf5a1f.tar.gz
CMake-0c47ed643046428617161959a5784d3d70cf5a1f.tar.bz2
cmMakefile: Convert private helpers to file static functions
The two-argument forms of `AddDefineFlag` and `RemoveDefineFlag` need no access to `cmMakefile` class members. They are used only within the implementation file.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 7a688b3..9f32c4f 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -885,9 +885,6 @@ protected:
std::string DefineFlags;
// Track the value of the computed DEFINITIONS property.
- void AddDefineFlag(std::string const& flag, std::string&);
- void RemoveDefineFlag(std::string const& flag, std::string::size_type,
- std::string&);
std::string DefineFlagsOrig;
#if defined(CMAKE_BUILD_WITH_CMAKE)