From ef0bdb00e4f671ea3c5d1bf096d230b57b526d96 Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Tue, 25 Apr 2017 17:39:59 -0700 Subject: Rework ConfigurationType enum --- toolsrc/src/PostBuildLint_ConfigurationType.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'toolsrc/src/PostBuildLint_ConfigurationType.cpp') diff --git a/toolsrc/src/PostBuildLint_ConfigurationType.cpp b/toolsrc/src/PostBuildLint_ConfigurationType.cpp index e61415499..1acfb3cf9 100644 --- a/toolsrc/src/PostBuildLint_ConfigurationType.cpp +++ b/toolsrc/src/PostBuildLint_ConfigurationType.cpp @@ -3,22 +3,22 @@ #include "vcpkg_Enums.h" #include "PackageSpec.h" -namespace vcpkg::PostBuildLint::ConfigurationType +namespace vcpkg::PostBuildLint { - static const std::string NULLVALUE_STRING = Enums::nullvalue_to_string(ENUM_NAME); + static const std::string NULLVALUE_STRING = Enums::nullvalue_to_string(ConfigurationTypeC::ENUM_NAME); static const std::string NAME_DEBUG = "Debug"; static const std::string NAME_RELEASE = "Release"; - const std::string& Type::to_string() const + const std::string& ConfigurationType::to_string() const { switch (this->backing_enum) { - case ConfigurationType::DEBUG: + case ConfigurationTypeC::DEBUG: return NAME_DEBUG; - case ConfigurationType::RELEASE: + case ConfigurationTypeC::RELEASE: return NAME_RELEASE; - case ConfigurationType::NULLVALUE: + case ConfigurationTypeC::NULLVALUE: return NULLVALUE_STRING; default: Checks::unreachable(VCPKG_LINE_INFO); -- cgit v1.2.3