summaryrefslogtreecommitdiff
path: root/src/xmlpatterns/schema/qxsdfacet_p.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-09-04 16:55:29 +0200
committerMarc Mutz <marc.mutz@kdab.com>2016-09-20 18:24:49 +0000
commit21cc71ced3565585f7a2f94875ed845355ab2064 (patch)
treefc9c632572e6f69d3753bc4a2658cec3e5cc7bff /src/xmlpatterns/schema/qxsdfacet_p.h
parentb1b57225dbc8733935697e1895631969e9a95376 (diff)
downloadqtxmlpatterns-21cc71ced3565585f7a2f94875ed845355ab2064.tar.gz
Eradicate Java-style loops (I): QHashIterator -> STL-style
Java-style iterators are slower than STL-style ones, so they should not be used in library code. Replaced them with STL iterator loops. In one case, a QMutableHashIterator actually needn't be mutable, so ported to const_iterator, like all others. Change-Id: Ib7fd1fa5fca2df2c288a61925ee68a5df11caf62 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/xmlpatterns/schema/qxsdfacet_p.h')
-rw-r--r--src/xmlpatterns/schema/qxsdfacet_p.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/xmlpatterns/schema/qxsdfacet_p.h b/src/xmlpatterns/schema/qxsdfacet_p.h
index 8dd7d5f..76919d1 100644
--- a/src/xmlpatterns/schema/qxsdfacet_p.h
+++ b/src/xmlpatterns/schema/qxsdfacet_p.h
@@ -112,7 +112,6 @@ namespace QPatternist
Assertion = 1 << 12, ///< Match an assertion (<a href="http://www.w3.org/TR/xmlschema-2/#rf-assertion">Assertion Definition</a>)
};
typedef QHash<XsdFacet::Type, XsdFacet::Ptr> Hash;
- typedef QHashIterator<XsdFacet::Type, XsdFacet::Ptr> HashIterator;
/**
* Creates a new facet object of type None.