mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 21:59:54 -06:00
cmake: Make internal method file static
This commit is contained in:
committed by
Daniel Pfeifer
parent
fa169fe8a7
commit
87ffd76d1a
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -500,8 +500,6 @@ private:
|
||||
* warning and error output CMake variables, in the cache.
|
||||
*/
|
||||
bool IsMessageTypeVisible(cmake::MessageType t);
|
||||
|
||||
bool PrintMessagePreamble(cmake::MessageType t, std::ostream& msg);
|
||||
};
|
||||
|
||||
#define CMAKE_STANDARD_OPTIONS_TABLE \
|
||||
|
||||
Reference in New Issue
Block a user