aboutsummaryrefslogtreecommitdiff
path: root/src/CommandDialog.hh
diff options
context:
space:
mode:
authorMario J. Rugiero <mrugiero@gmail.com>2014-12-20 03:50:04 (GMT)
committerMathias Gumz <akira@fluxbox.org>2015-05-01 08:46:20 (GMT)
commit63f89cb4336a7232de84a6c0999833267d732175 (patch)
tree570bf2bcb842140125e893507f514e9dc2bcff86 /src/CommandDialog.hh
parent79a358346a650a40c0e0f0409b264bf3e3cb23a4 (diff)
downloadfluxbox-63f89cb4336a7232de84a6c0999833267d732175.zip
fluxbox-63f89cb4336a7232de84a6c0999833267d732175.tar.bz2
Pass pre_command to CommandDialog as const reference to avoid unnecessary copying.
Diffstat (limited to 'src/CommandDialog.hh')
-rw-r--r--src/CommandDialog.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CommandDialog.hh b/src/CommandDialog.hh
index 0e12ce3..a976bc4 100644
--- a/src/CommandDialog.hh
+++ b/src/CommandDialog.hh
@@ -35,7 +35,7 @@ class Command;
35class CommandDialog: public TextDialog { 35class CommandDialog: public TextDialog {
36public: 36public:
37 CommandDialog(BScreen &screen, const std::string &title, 37 CommandDialog(BScreen &screen, const std::string &title,
38 const std::string pre_command = ""); 38 const std::string &pre_command = "");
39 39
40 /** 40 /**
41 * Sets the command to be executed after the command is done. 41 * Sets the command to be executed after the command is done.