optimization and fixes

This commit is contained in:
2020-06-09 17:52:17 +03:00
parent d5cef947ee
commit 4ec87e0e2a
4 changed files with 18 additions and 11 deletions

View File

@@ -674,10 +674,10 @@ bool dumpApplicationToFile(const PIString & path) {
void PIObject::__MetaData::addScope(const PIString & s) {
if (!scope_list.contains(s)) {
void PIObject::__MetaData::addScope(const PIString & s, uint shash) {
if (!scope_id.contains(shash)) {
scope_list << s;
scope_id << s.hash();
scope_id << shash;
}
}