summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/xml/XmlParser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/xml/XmlParser.cpp b/src/plugins/xml/XmlParser.cpp
index f254326..6e0fea0 100644
--- a/src/plugins/xml/XmlParser.cpp
+++ b/src/plugins/xml/XmlParser.cpp
@@ -173,7 +173,7 @@ public:
structType->setParentStructure(
parent, logger);
},
- location());
+ structType);
}
// Descend into the struct type
@@ -216,7 +216,7 @@ public:
[attribute](Handle<Type> type, Logger &logger) mutable {
attribute->setType(type, logger);
},
- location());
+ attribute);
}
void end() override {}
@@ -248,7 +248,7 @@ public:
[constant](Handle<Type> type, Logger &logger) mutable {
constant->setType(type, logger);
},
- location());
+ constant);
}
void end() override {}