Skip to content

Commit 44a6261

Browse files
committed
Use R"gql(...)gql"sv for names in getTypeNames
1 parent 9873870 commit 44a6261

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/SchemaGenerator.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1376,17 +1376,17 @@ void Generator::outputObjectImplementation(
13761376

13771377
for (const auto& interfaceName : objectType.interfaces)
13781378
{
1379-
sourceFile << R"cpp( ")cpp" << interfaceName << R"cpp(",
1379+
sourceFile << R"cpp( R"gql()cpp" << interfaceName << R"cpp()gql"sv,
13801380
)cpp";
13811381
}
13821382

13831383
for (const auto& unionName : objectType.unions)
13841384
{
1385-
sourceFile << R"cpp( ")cpp" << unionName << R"cpp(",
1385+
sourceFile << R"cpp( R"gql()cpp" << unionName << R"cpp()gql"sv,
13861386
)cpp";
13871387
}
13881388

1389-
sourceFile << R"cpp( ")cpp" << objectType.type << R"cpp("
1389+
sourceFile << R"cpp( R"gql()cpp" << objectType.type << R"cpp()gql"sv,
13901390
}, {
13911391
)cpp";
13921392

0 commit comments

Comments
 (0)