diff options
| author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-06-18 16:54:54 +0000 |
|---|---|---|
| committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-06-18 18:27:11 +0000 |
| commit | 571f36f1b61d316a2f2ace00fa94ba83ab1ac0a0 (patch) | |
| tree | 95696a57d31908e2d5b5853b4c84e3d53c700db1 /src/util/ziptool.h | |
| parent | Update pdf-parser.cpp (diff) | |
| download | inkscape-571f36f1b61d316a2f2ace00fa94ba83ab1ac0a0.tar.gz inkscape-571f36f1b61d316a2f2ace00fa94ba83ab1ac0a0.zip | |
Run clang-tidy’s modernize-pass-by-value pass.
This avoids having to pass variables by reference before copying them
when calling a constructor.
Diffstat (limited to 'src/util/ziptool.h')
| -rw-r--r-- | src/util/ziptool.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/ziptool.h b/src/util/ziptool.h index dbae8ac60..bcaec11f6 100644 --- a/src/util/ziptool.h +++ b/src/util/ziptool.h @@ -251,8 +251,8 @@ public: /** * */ - ZipEntry(const std::string &fileName, - const std::string &comment); + ZipEntry(std::string fileName, + std::string comment); /** * |
