Corrected setAll methods to take std::map parameter by reference instead of by
authorPadraig O'Sullivan <osullivan.padraig@gmail.com>
Mon, 27 Jul 2009 00:00:50 +0000 (20:00 -0400)
committerPadraig O'Sullivan <osullivan.padraig@gmail.com>
Mon, 27 Jul 2009 00:00:50 +0000 (20:00 -0400)
value.

libmemcached/memcached.hpp

index 55941f10bad9f7fe5cb94c105032241a95045fca..3b40304234167f8238c0f0136cf5c277cb31a0cd 100644 (file)
@@ -240,7 +240,7 @@ public:
     return retval;
   }
 
-  bool setAll(std::map<const std::string, std::vector<char> > key_value_map,
+  bool setAll(std::map<const std::string, std::vector<char> > &key_value_map,
               time_t expiration,
               uint32_t flags)
   {