diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-03-13 17:07:06 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-03-13 17:56:21 -0700 |
| commit | 2590371023b7eaebbd81f857a76ec95556b80705 (patch) | |
| tree | 720bbd34e8446f7756708cd63697586048e1d289 /toolsrc/src/PostBuildLint_BuildType.cpp | |
| parent | c55bbc3c463e019833ab7c40fa3ad5cecbb9b54f (diff) | |
| download | vcpkg-2590371023b7eaebbd81f857a76ec95556b80705.tar.gz vcpkg-2590371023b7eaebbd81f857a76ec95556b80705.zip | |
Remove Enums::unreachable(). Use Checks::unreachable() instead
Diffstat (limited to 'toolsrc/src/PostBuildLint_BuildType.cpp')
| -rw-r--r-- | toolsrc/src/PostBuildLint_BuildType.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/toolsrc/src/PostBuildLint_BuildType.cpp b/toolsrc/src/PostBuildLint_BuildType.cpp index f2fb292d7..593d976f2 100644 --- a/toolsrc/src/PostBuildLint_BuildType.cpp +++ b/toolsrc/src/PostBuildLint_BuildType.cpp @@ -1,6 +1,6 @@ #include "pch.h" #include "PostBuildLint_BuildType.h" -#include "vcpkg_Enums.h" +#include "vcpkg_Checks.h" namespace vcpkg::PostBuildLint::BuildType { @@ -26,7 +26,7 @@ namespace vcpkg::PostBuildLint::BuildType return RELEASE_DYNAMIC; } - Enums::unreachable(ENUM_NAME); + Checks::unreachable(VCPKG_LINE_INFO); } const ConfigurationType::type& type::config() const @@ -57,7 +57,7 @@ namespace vcpkg::PostBuildLint::BuildType case BuildType::RELEASE_DYNAMIC: return REGEX_RELEASE_DYNAMIC; default: - Enums::unreachable(ENUM_NAME); + Checks::unreachable(VCPKG_LINE_INFO); } } @@ -79,7 +79,7 @@ namespace vcpkg::PostBuildLint::BuildType case BuildType::RELEASE_DYNAMIC: return NAME_RELEASE_DYNAMIC; default: - Enums::unreachable(ENUM_NAME); + Checks::unreachable(VCPKG_LINE_INFO); } } } |
