From 5ab7cb84b990a19ab832abd42985b0b79b9172f2 Mon Sep 17 00:00:00 2001 From: Padraig O'Sullivan Date: Sun, 26 Jul 2009 20:00:50 -0400 Subject: [PATCH] Corrected setAll methods to take std::map parameter by reference instead of by value. --- libmemcached/memcached.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmemcached/memcached.hpp b/libmemcached/memcached.hpp index 55941f10..3b403042 100644 --- a/libmemcached/memcached.hpp +++ b/libmemcached/memcached.hpp @@ -240,7 +240,7 @@ public: return retval; } - bool setAll(std::map > key_value_map, + bool setAll(std::map > &key_value_map, time_t expiration, uint32_t flags) { -- 2.30.2