Skip to content

Commit cfbd0bb

Browse files
committed
use Optional<std::string> over std::optional<std::string>
1 parent 6c0fcbc commit cfbd0bb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

include/mrdox/Metadata/Template.hpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#define MRDOX_METADATA_TEMPLATE_HPP
1515

1616
#include <mrdox/Platform.hpp>
17+
#include <mrdox/ADT/Optional.hpp>
1718
#include <mrdox/Metadata/Type.hpp>
1819
#include <optional>
1920
#include <string>
@@ -46,15 +47,15 @@ struct NonTypeTParam
4647
/** Type of the non-type template parameter */
4748
TypeInfo Type;
4849
// Non-type template parameter default value (if any)
49-
std::optional<std::string> Default;
50+
Optional<std::string> Default;
5051
};
5152

5253
struct TemplateTParam
5354
{
5455
/** Template parameters for the template template parameter */
5556
std::vector<TParam> Params;
5657
/** Non-type template parameter default value (if any) */
57-
std::optional<std::string> Default;
58+
Optional<std::string> Default;
5859
};
5960

6061
// ----------------------------------------------------------------

0 commit comments

Comments
 (0)