small fix

This commit is contained in:
gabime 2014-02-13 01:15:31 +02:00
parent d8a77c3028
commit fcb8f1563d
2 changed files with 3 additions and 5 deletions

View File

@ -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;

View File

@ -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);
}