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/vcpkg_Enums.cpp | |
| parent | c55bbc3c463e019833ab7c40fa3ad5cecbb9b54f (diff) | |
| download | vcpkg-2590371023b7eaebbd81f857a76ec95556b80705.tar.gz vcpkg-2590371023b7eaebbd81f857a76ec95556b80705.zip | |
Remove Enums::unreachable(). Use Checks::unreachable() instead
Diffstat (limited to 'toolsrc/src/vcpkg_Enums.cpp')
| -rw-r--r-- | toolsrc/src/vcpkg_Enums.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/toolsrc/src/vcpkg_Enums.cpp b/toolsrc/src/vcpkg_Enums.cpp index 6197e729f..0a6662894 100644 --- a/toolsrc/src/vcpkg_Enums.cpp +++ b/toolsrc/src/vcpkg_Enums.cpp @@ -13,9 +13,4 @@ namespace vcpkg::Enums { Checks::exit_with_message("NULLVALUE of enum %s was used", enum_name); } - - __declspec(noreturn) void unreachable(const std::string& enum_name) - { - Checks::exit_with_message("Unreachable code for enum, %s", enum_name); - } } |
