Skip to content

Commit b2bafb8

Browse files
committed
Source is constexpr
#refactor
1 parent f843cc2 commit b2bafb8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/mrdocs/Metadata/Source.hpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ struct MRDOCS_DECL
6969

7070
//--------------------------------------------
7171

72+
constexpr
7273
Location(
7374
std::string_view const full_path = {},
7475
std::string_view const short_path = {},
@@ -131,7 +132,7 @@ struct MRDOCS_DECL
131132
auto operator<=>(SourceInfo const&) const = default;
132133

133134
protected:
134-
SourceInfo() = default;
135+
constexpr SourceInfo() = default;
135136
};
136137

137138
MRDOCS_DECL

0 commit comments

Comments
 (0)