Skip to content

Commit dba9abc

Browse files
committed
Fix #275
1 parent 7e962a2 commit dba9abc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/graphqlservice/GraphQLService.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ struct [[nodiscard]] RequestState : std::enable_shared_from_this<RequestState>
116116
virtual ~RequestState() = default;
117117
};
118118

119-
namespace {
119+
inline namespace keywords {
120120

121121
using namespace std::literals;
122122

@@ -131,7 +131,7 @@ constexpr std::string_view strQuery { "query"sv };
131131
constexpr std::string_view strMutation { "mutation"sv };
132132
constexpr std::string_view strSubscription { "subscription"sv };
133133

134-
} // namespace
134+
} // namespace keywords
135135

136136
// Resolvers may be called in multiple different Operation contexts.
137137
enum class [[nodiscard]] ResolverContext {

0 commit comments

Comments
 (0)