Update all config.h usage.
[m6w6/libmemcached] / libtest / vchar.cc
index fde0127f8d0da8fe2054e5eaf023383f60f1c893..1473509fa1383abd3bf996a7c5db46a86633953e 100644 (file)
@@ -34,7 +34,7 @@
  *
  */
 
-#include <config.h>
+#include "mem_config.h"
 #include <libtest/common.h>
 
 namespace libtest {
@@ -81,6 +81,7 @@ void make(libtest::vchar_t& arg)
 
 void make(libtest::vchar_t& arg, size_t length)
 {
+  arg.reserve(length);
   for (uint32_t x= 0; x < length; x++)
   {
     arg.push_back(char(x % 127));