Fix a typo extendable enumeration (#3535)

* Fix a typo extendable enumeration

* more
This commit is contained in:
JinmingHu 2022-04-09 12:25:25 +08:00 committed by GitHub
parent ce2c8db501
commit 557e033941
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,8 @@
* @brief Internal utility functions for extendable enumerations.
*
*/
#pragma once
#include <string>
namespace Azure { namespace Core { namespace _internal {
@ -20,10 +22,10 @@ namespace Azure { namespace Core { namespace _internal {
* Example:
*
* \code{.cpp}
* class MyEnumeration final : public ExtendableEnumeration<AttestationType> {
* class MyEnumeration final : public ExtendableEnumeration<MyEnumeration> {
* 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;