diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2014-05-21 20:29:34 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2014-05-21 21:38:34 +0200 |
commit | 3eec1658c16fab1057a4cab0e0ef668fdc017f86 (patch) | |
tree | cd95fc5ff083e9808038068498af9669431aa39c /src/lib/corelib/language/itemreaderastvisitor.h | |
parent | 67f05790924646fe3623976f7794e2e7c97e3c3a (diff) |
Pass source location as const reference
Change-Id: Ib0b8298ae178d1e80c4f0c81564ecd4a44fd917e
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Diffstat (limited to 'src/lib/corelib/language/itemreaderastvisitor.h')
-rw-r--r-- | src/lib/corelib/language/itemreaderastvisitor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/language/itemreaderastvisitor.h b/src/lib/corelib/language/itemreaderastvisitor.h index dae481c3b..5d12aac35 100644 --- a/src/lib/corelib/language/itemreaderastvisitor.h +++ b/src/lib/corelib/language/itemreaderastvisitor.h @@ -60,7 +60,7 @@ public: private: bool visitStatement(QbsQmlJS::AST::Statement *statement); - CodeLocation toCodeLocation(QbsQmlJS::AST::SourceLocation location) const; + CodeLocation toCodeLocation(const QbsQmlJS::AST::SourceLocation &location) const; void checkDuplicateBinding(Item *item, const QStringList &bindingName, const QbsQmlJS::AST::SourceLocation &sourceLocation); Item *targetItemForBinding(Item *item, const QStringList &binding, |