diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-08-18 12:27:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-08-18 14:24:11 +0100 |
commit | 4630157e29f565c110f4fa11223a2d2358508c26 (patch) | |
tree | f27b9b6e953ec3ae433172229a596ab0bdc9d934 /dbaccess | |
parent | 8a6eb111609fbb1e0270ef5ba475b027635c9749 (diff) |
cppcheck: passedByValue
Change-Id: I3ffcfe1294a1cbb06aadd3a1a79e9259876e38cc
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/sdbtools/connection/objectnames.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/sdbtools/connection/objectnames.cxx b/dbaccess/source/sdbtools/connection/objectnames.cxx index 9e24c49c31f8..d48f14e3efc0 100644 --- a/dbaccess/source/sdbtools/connection/objectnames.cxx +++ b/dbaccess/source/sdbtools/connection/objectnames.cxx @@ -206,7 +206,7 @@ namespace sdbtools PNameValidation m_pSecondary; public: - CombinedNameCheck( PNameValidation _pPrimary, PNameValidation _pSecondary ) + CombinedNameCheck(const PNameValidation& _pPrimary, const PNameValidation& _pSecondary) :m_pPrimary( _pPrimary ) ,m_pSecondary( _pSecondary ) { |