Skip to content
Snippets Groups Projects
Commit 1048d113 authored by Claudio Bisegni's avatar Claudio Bisegni
Browse files

fix compilation

parent 10371b22
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ ChaosAgent::ChaosAgent() {}
ChaosAgent::~ChaosAgent() {}
void ChaosAgent::init(int argc, char* argv[]) throw (CException) {
void ChaosAgent::init(int argc, const char* argv[]) throw (CException) {
ChaosCommon<ChaosAgent>::init(argc, argv);
}
......
......@@ -47,7 +47,7 @@ namespace chaos {
static void signalHanlder(int signal_number);
public:
ChaosAgentSettings settings;
void init(int argc, char* argv[]) throw (CException);
void init(int argc, const char* argv[]) throw (CException);
void init(istringstream &initStringStream) throw (CException);
void init(void *init_data) throw(CException);
void start()throw(CException);
......
......@@ -24,7 +24,7 @@
using namespace chaos::agent;
int main(int argc, char * argv[]) {
int main(int argc, const char * argv[]) {
try {
//data worker
ChaosAgent::getInstance()->getGlobalConfigurationInstance()->addOption< std::string >(OPT_WORKING_DIR,
......
......@@ -54,7 +54,7 @@ public:
};
int main(int argc, char *argv[]){
int main(int argc, const char *argv[]){
uint32_t quantum_multiplier;
uint32_t wait_seconds;
uint32_t operation;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment