Commit fcb8f156 authored by gabime's avatar gabime

small fix

parent d8a77c30
......@@ -45,7 +45,6 @@ public:
_max_size(max_size),
_max_files(max_files),
_current_size(0),
_index(0),
mutex_(),
_ofstream(_calc_filename(_base_filename, 0, _extension))
{}
......@@ -97,7 +96,6 @@ private:
std::size_t _max_size;
std::size_t _max_files;
std::size_t _current_size;
std::size_t _index;
std::mutex mutex_;
std::ofstream _ofstream;
......
......@@ -32,7 +32,7 @@ void pusher(Q* )
}
void testq(int size, int pushers, int poppers)
void testq(int size, int pushers /*int poppers*/)
{
active = true;
......@@ -73,7 +73,7 @@ int main(int argc, char* argv[])
}
int qsize = atoi(argv[1]);
int pushers = atoi(argv[2]);
int poppers = atoi(argv[3]);
//int poppers = atoi(argv[3]);
//testq(qsize, pushers, poppers);
......@@ -91,7 +91,7 @@ int main(int argc, char* argv[])
auto &logger = c11log::get_logger("async");
logger.add_sink(async);
testq(qsize, pushers, poppers);
testq(qsize, pushers);
}
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