projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
c++: references cannot be NULL
[awesomized/libmemcached]
/
libtest
/
blobslap_worker.cc
diff --git
a/libtest/blobslap_worker.cc
b/libtest/blobslap_worker.cc
index da43f619439a5aa6940f602cd9fb80b8fd270c4b..5100a388628a86d3bf5a90bf5efd2e0ecac635c8 100644
(file)
--- a/
libtest/blobslap_worker.cc
+++ b/
libtest/blobslap_worker.cc
@@
-51,8
+51,6
@@
#include <sys/wait.h>
#include <unistd.h>
#include <sys/wait.h>
#include <unistd.h>
-#include <libgearman/gearman.h>
-
#ifndef __INTEL_COMPILER
#pragma GCC diagnostic ignored "-Wold-style-cast"
#endif
#ifndef __INTEL_COMPILER
#pragma GCC diagnostic ignored "-Wold-style-cast"
#endif
@@
-148,21
+146,14
@@
public:
return true;
}
return true;
}
- bool build(
size_t argc, const char *argv[]
);
+ bool build();
};
#include <sstream>
};
#include <sstream>
-bool BlobslapWorker::build(
size_t argc, const char *argv[]
)
+bool BlobslapWorker::build()
{
{
- std::stringstream arg_buffer;
-
- for (size_t x= 0 ; x < argc ; x++)
- {
- add_option(argv[x]);
- }
-
return true;
}
return true;
}