From 557e03394162c21afece90e23511f8c4bab26db0 Mon Sep 17 00:00:00 2001 From: JinmingHu Date: Sat, 9 Apr 2022 12:25:25 +0800 Subject: [PATCH] Fix a typo extendable enumeration (#3535) * Fix a typo extendable enumeration * more --- .../inc/azure/core/internal/extendable_enumeration.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sdk/core/azure-core/inc/azure/core/internal/extendable_enumeration.hpp b/sdk/core/azure-core/inc/azure/core/internal/extendable_enumeration.hpp index 103912bee..6bf7244a5 100644 --- a/sdk/core/azure-core/inc/azure/core/internal/extendable_enumeration.hpp +++ b/sdk/core/azure-core/inc/azure/core/internal/extendable_enumeration.hpp @@ -6,6 +6,8 @@ * @brief Internal utility functions for extendable enumerations. * */ +#pragma once + #include namespace Azure { namespace Core { namespace _internal { @@ -20,10 +22,10 @@ namespace Azure { namespace Core { namespace _internal { * Example: * * \code{.cpp} - * class MyEnumeration final : public ExtendableEnumeration { + * class MyEnumeration final : public ExtendableEnumeration { * public: - * explicit MyEnumeration(std::string attestationType) : - * ExtendableEnumeration(std::move(attestationType)) {} + * explicit MyEnumeration(std::string value) : + * ExtendableEnumeration(std::move(value)) {} * MyEnumeration() = default; * static const MyEnumeration Enumerator1; * static const MyEnumeration Enumerator2;