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 /chart2/source/controller/chartapiwrapper/WrappedScaleProperty.hxx | |
parent | 8a6eb111609fbb1e0270ef5ba475b027635c9749 (diff) |
cppcheck: passedByValue
Change-Id: I3ffcfe1294a1cbb06aadd3a1a79e9259876e38cc
Diffstat (limited to 'chart2/source/controller/chartapiwrapper/WrappedScaleProperty.hxx')
-rw-r--r-- | chart2/source/controller/chartapiwrapper/WrappedScaleProperty.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.hxx b/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.hxx index fdab48a17c41..50a5bf152077 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.hxx +++ b/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.hxx @@ -54,7 +54,7 @@ public: }; public: - WrappedScaleProperty( tScaleProperty eScaleProperty, std::shared_ptr< Chart2ModelContact > spChart2ModelContact ); + WrappedScaleProperty(tScaleProperty eScaleProperty, const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); virtual ~WrappedScaleProperty(); static void addWrappedProperties( std::vector< WrappedProperty* >& rList, const std::shared_ptr< Chart2ModelContact >& spChart2ModelContact ); |