diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-25 17:39:59 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-25 17:56:19 -0700 |
| commit | ef0bdb00e4f671ea3c5d1bf096d230b57b526d96 (patch) | |
| tree | 9431d190cd14747058b2b24897301e6124dc0ca2 /toolsrc/src/PostBuildLint_ConfigurationType.cpp | |
| parent | d3d00b33dd524815b47f1bc6e6f8080dc7054d29 (diff) | |
| download | vcpkg-ef0bdb00e4f671ea3c5d1bf096d230b57b526d96.tar.gz vcpkg-ef0bdb00e4f671ea3c5d1bf096d230b57b526d96.zip | |
Rework ConfigurationType enum
Diffstat (limited to 'toolsrc/src/PostBuildLint_ConfigurationType.cpp')
| -rw-r--r-- | toolsrc/src/PostBuildLint_ConfigurationType.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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); |
