Commit 89804b63 authored by Luka Stanisic's avatar Luka Stanisic

slightly changing the format of the output

parent 5b4df058
......@@ -40,7 +40,7 @@ public:
const char* print(const char key[], const char format[], Params... args ){
const size_t length = 512;
char* name = new char[length+1];
snprintf(name, length, "%s_%d", key, taskid++);
snprintf(name, length, "%s-%d", key, taskid++);
name[length] = '\0';
names.push_back(name);
......@@ -53,7 +53,7 @@ public:
const char* add(const char key[], const char* strToCpy){
const size_t length = 512;
char* name = new char[length+1];
snprintf(name, length, "%s_%d", key, taskid++);
snprintf(name, length, "%s-%d", key, taskid++);
name[length] = '\0';
names.push_back(name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment