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/src/vcpkg.cpp | |
| parent | c6ab2a962600b5c1c506b7dbf70d5719c4c8aaf1 (diff) | |
| download | vcpkg-2a83c5eda6288cba46cb723996f95b0f6b21e61f.tar.gz vcpkg-2a83c5eda6288cba46cb723996f95b0f6b21e61f.zip | |
[opt_bool] Make members ALL_CAPS
Diffstat (limited to 'toolsrc/src/vcpkg.cpp')
| -rw-r--r-- | toolsrc/src/vcpkg.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/toolsrc/src/vcpkg.cpp b/toolsrc/src/vcpkg.cpp index b78319167..36bd0a40a 100644 --- a/toolsrc/src/vcpkg.cpp +++ b/toolsrc/src/vcpkg.cpp @@ -202,14 +202,14 @@ int wmain(const int argc, const wchar_t* const* const argv) const vcpkg_cmd_arguments args = vcpkg_cmd_arguments::create_from_command_line(argc, argv); - if (args.printmetrics != opt_bool::unspecified) - SetPrintMetrics(args.printmetrics == opt_bool::enabled); - if (args.sendmetrics != opt_bool::unspecified) - SetSendMetrics(args.sendmetrics == opt_bool::enabled); + if (args.printmetrics != opt_bool::UNSPECIFIED) + SetPrintMetrics(args.printmetrics == opt_bool::ENABLED); + if (args.sendmetrics != opt_bool::UNSPECIFIED) + SetSendMetrics(args.sendmetrics == opt_bool::ENABLED); - if (args.debug != opt_bool::unspecified) + if (args.debug != opt_bool::UNSPECIFIED) { - g_debugging = (args.debug == opt_bool::enabled); + g_debugging = (args.debug == opt_bool::ENABLED); } if (g_debugging) |
