diff options
author | Stephen Kelly <steveire@gmail.com> | 2016-01-28 21:10:25 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-06-08 21:08:24 (GMT) |
commit | 87ffd76d1a33885a4cddff70a9909ad88c2aeacc (patch) | |
tree | fe987930dcc5967b69f06fb7557f632e284a7dd6 /Source/cmake.cxx | |
parent | fa169fe8a7f2066eaa40393b4b7979daf42065e4 (diff) | |
download | CMake-87ffd76d1a33885a4cddff70a9909ad88c2aeacc.zip CMake-87ffd76d1a33885a4cddff70a9909ad88c2aeacc.tar.gz CMake-87ffd76d1a33885a4cddff70a9909ad88c2aeacc.tar.bz2 |
cmake: Make internal method file static
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 89ea955..4d2dfe8 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -2225,7 +2225,7 @@ bool cmake::IsMessageTypeVisible(cmake::MessageType t) return isVisible; } -bool cmake::PrintMessagePreamble(cmake::MessageType t, std::ostream& msg) +static bool printMessagePreamble(cmake::MessageType t, std::ostream& msg) { // Construct the message header. if (t == cmake::FATAL_ERROR) { @@ -2312,7 +2312,7 @@ void cmake::IssueMessage(cmake::MessageType t, std::string const& text, } std::ostringstream msg; - if (!this->PrintMessagePreamble(t, msg)) { + if (!printMessagePreamble(t, msg)) { return; } |