Skip to content

Commit

Permalink
Also register std::pair with the generator
Browse files Browse the repository at this point in the history
(QPair is more or less deprecated)
  • Loading branch information
usiems committed Feb 27, 2024
1 parent 9a464f0 commit 8fd43aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions generator/typesystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1567,6 +1567,7 @@ TypeDatabase::TypeDatabase() : m_suppressWarnings(true)
addType(new ContainerTypeEntry("QMap", ContainerTypeEntry::MapContainer));
addType(new ContainerTypeEntry("QHash", ContainerTypeEntry::HashContainer));
addType(new ContainerTypeEntry("QPair", ContainerTypeEntry::PairContainer));
addType(new ContainerTypeEntry("std::pair", ContainerTypeEntry::PairContainer));
addType(new ContainerTypeEntry("QQueue", ContainerTypeEntry::QueueContainer));
addType(new ContainerTypeEntry("QMultiMap", ContainerTypeEntry::MultiMapContainer));

Expand Down

0 comments on commit 8fd43aa

Please sign in to comment.