From 1fec68b4cabc45efd24124b4656ad89bae264f3e Mon Sep 17 00:00:00 2001 From: Jackmcbarn Date: Wed, 1 Dec 2010 14:27:27 -0500 Subject: Use const references --- src/command_parse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/command_parse.cpp') diff --git a/src/command_parse.cpp b/src/command_parse.cpp index 2c1827841..88ad73c93 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -374,7 +374,7 @@ CommandParser::CommandParser() para.resize(128); } -int CommandParser::TranslateUIDs(const std::vector to, const std::vector &source, std::string &dest, bool prefix_final, Command* custom_translator) +int CommandParser::TranslateUIDs(const std::vector &to, const std::vector &source, std::string &dest, bool prefix_final, Command* custom_translator) { std::vector::const_iterator types = to.begin(); User* user = NULL; -- cgit v1.3.1-10-gc9f91