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/ui/dialog/dialog.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/ui/dialog/dialog.h')
| -rw-r--r-- | src/ui/dialog/dialog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/dialog/dialog.h b/src/ui/dialog/dialog.h index 8f94c544b..c0f0a53bd 100644 --- a/src/ui/dialog/dialog.h +++ b/src/ui/dialog/dialog.h @@ -64,7 +64,7 @@ public: * @param verb_num the dialog verb. */ Dialog(Behavior::BehaviorFactory behavior_factory, const char *prefs_path = nullptr, - int verb_num = 0, Glib::ustring const &apply_label = ""); + int verb_num = 0, Glib::ustring apply_label = ""); virtual ~Dialog(); |
