Skip to content

Commit 646d35b

Browse files
Makes the static_typename public
1 parent 024c298 commit 646d35b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/SchemaGenerator.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -994,10 +994,6 @@ void Generator::outputObjectDeclaration(
994994
<< R"cpp( service::TypeNames getTypeNames() const noexcept;
995995
service::ResolverMap getResolvers() const noexcept;
996996
997-
constexpr static std::string_view static_typename = std::string_view(
998-
")cpp" << objectType.type << R"cpp("
999-
);
1000-
1001997
void beginSelectionSet(const service::SelectionSetParams& params) const final;
1002998
void endSelectionSet(const service::SelectionSetParams& params) const final;
1003999
@@ -1012,6 +1008,10 @@ void Generator::outputObjectDeclaration(
10121008
<< R"cpp( { std::unique_ptr<const Concept> { std::make_unique<Model<T>>(std::move(pimpl)) } }
10131009
{
10141010
}
1011+
1012+
constexpr static std::string_view static_typename = std::string_view(
1013+
")cpp" << objectType.type << R"cpp("
1014+
);
10151015
};
10161016
)cpp";
10171017
}

0 commit comments

Comments
 (0)