We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 529abc4 commit 3af63f6Copy full SHA for 3af63f6
src/ClientGenerator.cpp
@@ -691,10 +691,7 @@ void Generator::addTypesToSchema(const std::shared_ptr<schema::Schema>& schema)
691
return interfaceTypes[interfaceName];
692
});
693
694
- itr->second->AddInterfaces(
695
- std::initializer_list<std::shared_ptr<const schema::InterfaceType>>(
696
- interfaces.data(),
697
- interfaces.data() + interfaces.size()));
+ itr->second->AddInterfaces(std::move(interfaces));
698
}
699
700
if (!objectType.fields.empty())
0 commit comments