summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cpppointerdeclarationformatter.h
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2014-05-19 18:32:38 +0300
committerOrgad Shaneh <orgads@gmail.com>2014-05-21 15:50:10 +0200
commit589535c120b9f2421c7bd5aaf20a1083f7f61177 (patch)
tree7a9120704bf36ad659fad0bb8d75729260d08da8 /src/plugins/cpptools/cpppointerdeclarationformatter.h
parent28f5c46cc0a3fe3ae340696d892d0f0503ccf5d0 (diff)
downloadqt-creator-589535c120b9f2421c7bd5aaf20a1083f7f61177.tar.gz
CppTools: Pass some const variables by reference
Change-Id: I3e703c923f6e1a14a89c76f394a070184db0c7bf Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
Diffstat (limited to 'src/plugins/cpptools/cpppointerdeclarationformatter.h')
-rw-r--r--src/plugins/cpptools/cpppointerdeclarationformatter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cpppointerdeclarationformatter.h b/src/plugins/cpptools/cpppointerdeclarationformatter.h
index 0bce8089db..4fc15b659c 100644
--- a/src/plugins/cpptools/cpppointerdeclarationformatter.h
+++ b/src/plugins/cpptools/cpppointerdeclarationformatter.h
@@ -77,7 +77,7 @@ public:
*/
enum CursorHandling { RespectCursor, IgnoreCursor };
- explicit PointerDeclarationFormatter(const CppRefactoringFilePtr refactoringFile,
+ explicit PointerDeclarationFormatter(const CppRefactoringFilePtr &refactoringFile,
Overview &overview,
CursorHandling cursorHandling = IgnoreCursor);