diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-03 16:31:00 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-04 16:47:00 -0700 |
| commit | e401799aca7ed685f195157c37849a5b09fffca2 (patch) | |
| tree | 9f805b9016e5f85992758bf080c6df0574530fe5 /toolsrc/include/vcpkg_System.h | |
| parent | 898edccbdcec9345c549945187195b75a9f49212 (diff) | |
| download | vcpkg-e401799aca7ed685f195157c37849a5b09fffca2.tar.gz vcpkg-e401799aca7ed685f195157c37849a5b09fffca2.zip | |
color -> Color
Diffstat (limited to 'toolsrc/include/vcpkg_System.h')
| -rw-r--r-- | toolsrc/include/vcpkg_System.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/toolsrc/include/vcpkg_System.h b/toolsrc/include/vcpkg_System.h index d1069464b..41ede55e6 100644 --- a/toolsrc/include/vcpkg_System.h +++ b/toolsrc/include/vcpkg_System.h @@ -23,7 +23,7 @@ namespace vcpkg::System std::wstring create_powershell_script_cmd(const fs::path& script_path, const CWStringView args = L""); - enum class color + enum class Color { success = 10, error = 12, @@ -32,8 +32,8 @@ namespace vcpkg::System void print(const CStringView message); void println(const CStringView message); - void print(const color c, const CStringView message); - void println(const color c, const CStringView message); + void print(const Color c, const CStringView message); + void println(const Color c, const CStringView message); template <class Arg1, class...Args> void print(const char* messageTemplate, const Arg1& messageArg1, const Args&... messageArgs) @@ -42,7 +42,7 @@ namespace vcpkg::System } template <class Arg1, class...Args> - void print(const color c, const char* messageTemplate, const Arg1& messageArg1, const Args&... messageArgs) + void print(const Color c, const char* messageTemplate, const Arg1& messageArg1, const Args&... messageArgs) { return print(c, Strings::format(messageTemplate, messageArg1, messageArgs...)); } @@ -54,7 +54,7 @@ namespace vcpkg::System } template <class Arg1, class...Args> - void println(const color c, const char* messageTemplate, const Arg1& messageArg1, const Args&... messageArgs) + void println(const Color c, const char* messageTemplate, const Arg1& messageArg1, const Args&... messageArgs) { return println(c, Strings::format(messageTemplate, messageArg1, messageArgs...)); } |
