diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-07-12 15:52:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-07-13 09:22:40 +0200 |
commit | 54a97eb9ddd66294f303189ca12ef726177453cb (patch) | |
tree | fc068c028f44ef859021bf4b1a66daa29491a20d /vcl/inc/driverblocklist.hxx | |
parent | 72f631977435a704008a55d3be6489ba619e3064 (diff) |
clang-tidy modernize-pass-by-value in vcl
Change-Id: I9ddb786eb88213c53cf53067ced6899ca40ac6e8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137000
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/driverblocklist.hxx')
-rw-r--r-- | vcl/inc/driverblocklist.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/vcl/inc/driverblocklist.hxx b/vcl/inc/driverblocklist.hxx index 542677aa3454..f3fc81c6642d 100644 --- a/vcl/inc/driverblocklist.hxx +++ b/vcl/inc/driverblocklist.hxx @@ -92,9 +92,8 @@ enum VersionComparisonOp struct DriverInfo { - DriverInfo(OperatingSystem os, const OUString& vendor, VersionComparisonOp op, - uint64_t driverVersion, bool bAllowListed = false, - const char* suggestedVersion = nullptr); + DriverInfo(OperatingSystem os, OUString vendor, VersionComparisonOp op, uint64_t driverVersion, + bool bAllowListed = false, const char* suggestedVersion = nullptr); DriverInfo(); @@ -117,7 +116,7 @@ struct DriverInfo class VCL_DLLPUBLIC Parser { public: - Parser(const OUString& rURL, std::vector<DriverInfo>& rDriverList, VersionType versionType); + Parser(OUString aURL, std::vector<DriverInfo>& rDriverList, VersionType versionType); bool parse(); private: |