summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenerators.h
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-02-17 17:44:10 (GMT)
committerBrad King <brad.king@kitware.com>2017-02-21 15:12:55 (GMT)
commitc23206b6c17a5c70580355904fc12fd64c26ef79 (patch)
tree73fdc1a8fab1c17fe5a810cccf3f5daab0a29bb4 /Source/cmQtAutoGenerators.h
parent347572cf5ea2c653cba6150b5e6d6fa083a68cb0 (diff)
downloadCMake-c23206b6c17a5c70580355904fc12fd64c26ef79.zip
CMake-c23206b6c17a5c70580355904fc12fd64c26ef79.tar.gz
CMake-c23206b6c17a5c70580355904fc12fd64c26ef79.tar.bz2
Autogen: Log simplifications
The logging methods now automatically add an end-of-line to the message if it is missing.
Diffstat (limited to 'Source/cmQtAutoGenerators.h')
-rw-r--r--Source/cmQtAutoGenerators.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmQtAutoGenerators.h b/Source/cmQtAutoGenerators.h
index 2242e13..c20b83c 100644
--- a/Source/cmQtAutoGenerators.h
+++ b/Source/cmQtAutoGenerators.h
@@ -124,7 +124,7 @@ private:
// - Logging
void LogErrorNameCollision(
const std::string& message,
- const std::multimap<std::string, std::string>& collisions);
+ const std::multimap<std::string, std::string>& collisions) const;
void LogBold(const std::string& message) const;
void LogInfo(const std::string& message) const;
void LogWarning(const std::string& message) const;
@@ -138,7 +138,7 @@ private:
std::string ChecksumedPath(const std::string& sourceFile,
const char* basePrefix,
const char* baseSuffix) const;
- bool MakeParentDirectory(const std::string& filename);
+ bool MakeParentDirectory(const std::string& filename) const;
bool FindHeader(std::string& header, const std::string& testBasePath) const;
bool FindHeaderGlobal(std::string& header,