diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-01-31 12:59:20 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-01-31 12:59:20 -0800 |
| commit | 2a83c5eda6288cba46cb723996f95b0f6b21e61f (patch) | |
| tree | 6266cdd5228372d695f8063f9da424a9de43dacd /toolsrc/include | |
| parent | c6ab2a962600b5c1c506b7dbf70d5719c4c8aaf1 (diff) | |
| download | vcpkg-2a83c5eda6288cba46cb723996f95b0f6b21e61f.tar.gz vcpkg-2a83c5eda6288cba46cb723996f95b0f6b21e61f.zip | |
[opt_bool] Make members ALL_CAPS
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/opt_bool.h | 6 | ||||
| -rw-r--r-- | toolsrc/include/vcpkg_cmd_arguments.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/toolsrc/include/opt_bool.h b/toolsrc/include/opt_bool.h index 3856366c8..42133fb7a 100644 --- a/toolsrc/include/opt_bool.h +++ b/toolsrc/include/opt_bool.h @@ -4,8 +4,8 @@ namespace vcpkg { enum class opt_bool { - unspecified, - enabled, - disabled + UNSPECIFIED, + ENABLED, + DISABLED }; } diff --git a/toolsrc/include/vcpkg_cmd_arguments.h b/toolsrc/include/vcpkg_cmd_arguments.h index 8ace98586..79e12841d 100644 --- a/toolsrc/include/vcpkg_cmd_arguments.h +++ b/toolsrc/include/vcpkg_cmd_arguments.h @@ -14,9 +14,9 @@ namespace vcpkg std::unique_ptr<std::string> vcpkg_root_dir; std::unique_ptr<std::string> target_triplet; - opt_bool debug = opt_bool::unspecified; - opt_bool sendmetrics = opt_bool::unspecified; - opt_bool printmetrics = opt_bool::unspecified; + opt_bool debug = opt_bool::UNSPECIFIED; + opt_bool sendmetrics = opt_bool::UNSPECIFIED; + opt_bool printmetrics = opt_bool::UNSPECIFIED; std::string command; std::vector<std::string> command_arguments; |
