summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/dialog.h
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-18 16:54:54 +0000
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-18 18:27:11 +0000
commit571f36f1b61d316a2f2ace00fa94ba83ab1ac0a0 (patch)
tree95696a57d31908e2d5b5853b4c84e3d53c700db1 /src/ui/dialog/dialog.h
parentUpdate pdf-parser.cpp (diff)
downloadinkscape-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.h2
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();