diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-06-08 17:14:34 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-06-08 17:14:34 +0200 |
commit | 4d49c9601c9b3e26a336e08e057d299895683480 (patch) | |
tree | 469e3c18c2167db45cffec0a21a99abda8406c54 /opencl/source | |
parent | 46c7ecf760bbea6541507c319e8e722f9b4ec712 (diff) |
Let loplugin:passstuffbyref also look at fn defn not preceded by any decl
Change-Id: I752bc96d2d521d790e919283cabb14b6526626f4
Diffstat (limited to 'opencl/source')
-rw-r--r-- | opencl/source/opencl_device.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/opencl/source/opencl_device.cxx b/opencl/source/opencl_device.cxx index a653ac71016c..0a0d28ee4200 100644 --- a/opencl/source/opencl_device.cxx +++ b/opencl/source/opencl_device.cxx @@ -465,7 +465,7 @@ class LogWriter private: SvFileStream maStream; public: - explicit LogWriter(OUString aFileName) + explicit LogWriter(OUString const & aFileName) : maStream(aFileName, StreamMode::WRITE) {} @@ -495,7 +495,7 @@ public: }; -void writeDevicesLog(std::unique_ptr<ds_profile>& rProfile, OUString sProfilePath, int nSelectedIndex) +void writeDevicesLog(std::unique_ptr<ds_profile>& rProfile, OUString const & sProfilePath, int nSelectedIndex) { OUString aCacheFile(sProfilePath + "opencl_devices.log"); LogWriter aWriter(aCacheFile); |