aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/PostBuildLint_ConfigurationType.cpp
diff options
context:
space:
mode:
authoratkawa7 <atkawa7@yahoo.com>2017-06-13 17:12:54 -0700
committeratkawa7 <atkawa7@yahoo.com>2017-06-13 17:12:54 -0700
commitaa83671a723da212e640990ef9b9efafccba8af1 (patch)
treef50d482f3d2b4e3545a672eb58712ac553d272de /toolsrc/src/PostBuildLint_ConfigurationType.cpp
parent9a409006cf7ec63bebe0d9341799b5cb529155ae (diff)
parent548ff8d3db47e83ebecc5b57dcbd63723cee7546 (diff)
downloadvcpkg-aa83671a723da212e640990ef9b9efafccba8af1.tar.gz
vcpkg-aa83671a723da212e640990ef9b9efafccba8af1.zip
Merge https://github.com/Microsoft/vcpkg into live555
Diffstat (limited to 'toolsrc/src/PostBuildLint_ConfigurationType.cpp')
-rw-r--r--toolsrc/src/PostBuildLint_ConfigurationType.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/toolsrc/src/PostBuildLint_ConfigurationType.cpp b/toolsrc/src/PostBuildLint_ConfigurationType.cpp
deleted file mode 100644
index eeccb1804..000000000
--- a/toolsrc/src/PostBuildLint_ConfigurationType.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-#include "pch.h"
-
-#include "PackageSpec.h"
-#include "PostBuildLint_ConfigurationType.h"
-#include "vcpkg_Enums.h"
-
-namespace vcpkg::PostBuildLint
-{
- 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& ConfigurationType::to_string() const
- {
- switch (this->backing_enum)
- {
- case ConfigurationTypeC::DEBUG: return NAME_DEBUG;
- case ConfigurationTypeC::RELEASE: return NAME_RELEASE;
- case ConfigurationTypeC::NULLVALUE: return NULLVALUE_STRING;
- default: Checks::unreachable(VCPKG_LINE_INFO);
- }
- }
-}