aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-12-12 15:08:26 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2016-12-12 15:08:26 -0800
commitc77be8f221dbbb7b38c74ce382be9b4dbb4d296b (patch)
treeebf8322b5bd351b1a5b3f59d63d890683481e615 /toolsrc/include
parent852acbc2638c21d9639258417b8cd9fceed722c2 (diff)
downloadvcpkg-c77be8f221dbbb7b38c74ce382be9b4dbb4d296b.tar.gz
vcpkg-c77be8f221dbbb7b38c74ce382be9b4dbb4d296b.zip
[vcpkg_System] Add missing const keywords
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg_System.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/toolsrc/include/vcpkg_System.h b/toolsrc/include/vcpkg_System.h
index ca81235ed..1101c9b27 100644
--- a/toolsrc/include/vcpkg_System.h
+++ b/toolsrc/include/vcpkg_System.h
@@ -36,8 +36,8 @@ namespace vcpkg {namespace System
void print(const char* message);
void println(const char* message);
- void print(color c, const char* message);
- void println(color c, const char* message);
+ void print(const color c, const char* message);
+ void println(const color c, const char* message);
inline void print(const std::string& message)
{
@@ -49,12 +49,12 @@ namespace vcpkg {namespace System
return println(message.c_str());
}
- inline void print(color c, const std::string& message)
+ inline void print(const color c, const std::string& message)
{
return print(c, message.c_str());
}
- inline void println(color c, const std::string& message)
+ inline void println(const color c, const std::string& message)
{
return println(c, message.c_str());
}
@@ -66,7 +66,7 @@ namespace vcpkg {namespace System
}
template <class...Args>
- void print(color c, const char* messageTemplate, const Args&... messageArgs)
+ void print(const color c, const char* messageTemplate, const Args&... messageArgs)
{
return print(c, Strings::format(messageTemplate, messageArgs...).c_str());
}
@@ -78,7 +78,7 @@ namespace vcpkg {namespace System
}
template <class...Args>
- void println(color c, const char* messageTemplate, const Args&... messageArgs)
+ void println(const color c, const char* messageTemplate, const Args&... messageArgs)
{
return println(c, Strings::format(messageTemplate, messageArgs...).c_str());
}