summaryrefslogtreecommitdiff
path: root/include/ctables.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ctables.h')
-rw-r--r--include/ctables.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ctables.h b/include/ctables.h
index 7fca885bc..d98e1701d 100644
--- a/include/ctables.h
+++ b/include/ctables.h
@@ -59,7 +59,7 @@ class command_t
*/
std::string source;
- command_t(std::string cmd, char flags, int minpara) : command(cmd), flags_needed(flags), min_params(minpara)
+ command_t(const std::string &cmd, char flags, int minpara) : command(cmd), flags_needed(flags), min_params(minpara)
{
use_count = total_bytes = 0;
source = "<core>";