gcc warnings fix

This commit is contained in:
gabime
2014-10-18 16:05:41 +03:00
parent 5f4d4d0909
commit e6345e008b
5 changed files with 18 additions and 18 deletions

View File

@@ -37,9 +37,9 @@ int main(int argc, char* argv[])
auto delta = system_clock::now() - start;
auto delta_d = duration_cast<duration<double>> (delta).count();
cout << "Total:" << format(howmany) << endl;
cout << "Delta:" << format(delta_d) << endl;
cout << "Rate:" << format(howmany / delta_d) << "/sec" << endl;
cout_logger.info("Total:") << format(howmany);
cout_logger.info("Delta:") << format(delta_d);
cout_logger.info("Rate:") << format(howmany / delta_d) << "/sec";
return 0;
}

View File

@@ -9,7 +9,7 @@
#include "c11log/sinks/file_sinks.h"
using namespace std;
int main2(int, char* [])
int main(int, char* [])
{
auto console = c11log::factory::stdout_logger();