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 /sc/source/core/opencl/opbase.hxx | |
parent | 8a6eb111609fbb1e0270ef5ba475b027635c9749 (diff) |
cppcheck: passedByValue
Change-Id: I3ffcfe1294a1cbb06aadd3a1a79e9259876e38cc
Diffstat (limited to 'sc/source/core/opencl/opbase.hxx')
-rw-r--r-- | sc/source/core/opencl/opbase.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/opencl/opbase.hxx b/sc/source/core/opencl/opbase.hxx index 2984f1cf2785..e99ecc5319ce 100644 --- a/sc/source/core/opencl/opbase.hxx +++ b/sc/source/core/opencl/opbase.hxx @@ -89,7 +89,7 @@ public: /// delete copy-assignment operator const DynamicKernelArgument& operator=( const DynamicKernelArgument& ) = delete; - DynamicKernelArgument( const ScCalcConfig& config, const std::string& s, FormulaTreeNodeRef ft ); + DynamicKernelArgument( const ScCalcConfig& config, const std::string& s, const FormulaTreeNodeRef& ft ); virtual ~DynamicKernelArgument() {} /// Generate declaration @@ -143,7 +143,7 @@ typedef std::shared_ptr<DynamicKernelArgument> DynamicKernelArgumentRef; class VectorRef : public DynamicKernelArgument { public: - VectorRef( const ScCalcConfig& config, const std::string& s, FormulaTreeNodeRef ft, int index = 0 ); + VectorRef( const ScCalcConfig& config, const std::string& s, const FormulaTreeNodeRef& ft, int index = 0 ); virtual ~VectorRef(); /// Generate declaration |