summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2019-02-14 12:45:13 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2019-02-15 14:52:29 (GMT)
commitbd20cc29a20f087348e7724da2cbaf311626dc06 (patch)
treec7bd548a8444390a372c3bfb057804d11b3dae41 /Source/cmSystemTools.h
parent442cb77bf31c02f83c47167ef9842b7756029227 (diff)
downloadCMake-bd20cc29a20f087348e7724da2cbaf311626dc06.zip
CMake-bd20cc29a20f087348e7724da2cbaf311626dc06.tar.gz
CMake-bd20cc29a20f087348e7724da2cbaf311626dc06.tar.bz2
cmSystemTools: Remove redundant cmCopyFile() and Split()
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index ba6de51..82e4f01 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -172,10 +172,6 @@ public:
static bool SimpleGlob(const std::string& glob,
std::vector<std::string>& files, int type = 0);
- ///! Copy a file.
- static bool cmCopyFile(const std::string& source,
- const std::string& destination);
-
/** Rename a file or directory within a single disk volume (atomic
if possible). */
static bool RenameFile(const std::string& oldname,
@@ -347,9 +343,6 @@ public:
cmDuration timeout, std::vector<char>& out,
std::vector<char>& err);
- /** Split a string on its newlines into multiple lines. Returns
- false only if the last line stored had no newline. */
- static bool Split(const char* s, std::vector<std::string>& l);
static void SetForceUnixPaths(bool v) { s_ForceUnixPaths = v; }
static bool GetForceUnixPaths() { return s_ForceUnixPaths; }