From 3a7fa1660c3d78f1f80f3502a8dae77642d3c3f9 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 12 Mar 2006 16:56:02 +0000 Subject: Const refs (this is about the last of them in the core api) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3694 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/ctables.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/ctables.h') 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 = ""; -- cgit v1.2.3