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.
2 parents fb0ec64 + 3015c39 commit 21440b3Copy full SHA for 21440b3
lib/ClangImporter/ImportDecl.cpp
@@ -2645,7 +2645,8 @@ namespace {
2645
structResult->setIsCxxNonTrivial(isAddressOnly);
2646
}
2647
2648
- for (auto &getterAndSetter : Impl.GetterSetterMap[result]) {
+ auto gettersAndSetters = Impl.GetterSetterMap[result];
2649
+ for (auto &getterAndSetter : gettersAndSetters) {
2650
auto getter = getterAndSetter.second.first;
2651
auto setter = getterAndSetter.second.second;
2652
// We cannot make a computed property without a getter.
0 commit comments