forked from qt-creator/qt-creator
QML: remove reserved names.
See [global.names] (17.6.4.3.2 in the C++11 spec.) Change-Id: Iee0972f2eac0c48ac9ca62bf6ced7cb2db669f05 Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
This commit is contained in:
@@ -212,7 +212,7 @@ public:
|
||||
|
||||
class QMLJS_EXPORT Snapshot
|
||||
{
|
||||
typedef QHash<QString, Document::Ptr> _Base;
|
||||
typedef QHash<QString, Document::Ptr> Base;
|
||||
QHash<QString, Document::Ptr> _documents;
|
||||
QHash<QString, QList<Document::Ptr> > _documentsByPath;
|
||||
QHash<QString, LibraryInfo> _libraries;
|
||||
@@ -223,8 +223,8 @@ public:
|
||||
Snapshot(const Snapshot &o);
|
||||
~Snapshot();
|
||||
|
||||
typedef _Base::iterator iterator;
|
||||
typedef _Base::const_iterator const_iterator;
|
||||
typedef Base::iterator iterator;
|
||||
typedef Base::const_iterator const_iterator;
|
||||
|
||||
const_iterator begin() const { return _documents.begin(); }
|
||||
const_iterator end() const { return _documents.end(); }
|
||||
|
||||
Reference in New Issue
Block a user