aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include/PostBuildLint_ConfigurationType.h
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-04-03 14:52:06 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-04-04 16:44:42 -0700
commitfdda06e83d7da985bf78ea81e2da450052798204 (patch)
tree1f253654c440b555f46e41984c9f44546ba1ef14 /toolsrc/include/PostBuildLint_ConfigurationType.h
parent6ccb3b95d8f193dc052d06977adc9050dea1c5c6 (diff)
downloadvcpkg-fdda06e83d7da985bf78ea81e2da450052798204.tar.gz
vcpkg-fdda06e83d7da985bf78ea81e2da450052798204.zip
ConfigurationType to UpperCamelCase
Diffstat (limited to 'toolsrc/include/PostBuildLint_ConfigurationType.h')
-rw-r--r--toolsrc/include/PostBuildLint_ConfigurationType.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/toolsrc/include/PostBuildLint_ConfigurationType.h b/toolsrc/include/PostBuildLint_ConfigurationType.h
index 7245d2932..0f29110a7 100644
--- a/toolsrc/include/PostBuildLint_ConfigurationType.h
+++ b/toolsrc/include/PostBuildLint_ConfigurationType.h
@@ -4,30 +4,30 @@
namespace vcpkg::PostBuildLint::ConfigurationType
{
- enum class backing_enum_t
+ enum class BackingEnum
{
NULLVALUE = 0,
DEBUG = 1,
RELEASE = 2
};
- struct type
+ struct Type
{
- constexpr type() : backing_enum(backing_enum_t::NULLVALUE) {}
- constexpr explicit type(backing_enum_t backing_enum) : backing_enum(backing_enum) { }
- constexpr operator backing_enum_t() const { return backing_enum; }
+ constexpr Type() : backing_enum(BackingEnum::NULLVALUE) {}
+ constexpr explicit Type(BackingEnum backing_enum) : backing_enum(backing_enum) { }
+ constexpr operator BackingEnum() const { return backing_enum; }
const std::string& toString() const;
private:
- backing_enum_t backing_enum;
+ BackingEnum backing_enum;
};
static const std::string ENUM_NAME = "vcpkg::PostBuildLint::ConfigurationType";
- static constexpr type NULLVALUE(backing_enum_t::NULLVALUE);
- static constexpr type DEBUG(backing_enum_t::DEBUG);
- static constexpr type RELEASE(backing_enum_t::RELEASE);
+ static constexpr Type NULLVALUE(BackingEnum::NULLVALUE);
+ static constexpr Type DEBUG(BackingEnum::DEBUG);
+ static constexpr Type RELEASE(BackingEnum::RELEASE);
- static constexpr std::array<type, 2> values = { DEBUG, RELEASE };
+ static constexpr std::array<Type, 2> values = { DEBUG, RELEASE };
}