fix variable shadowing

This commit is contained in:
Dane Springmeyer 2014-05-16 18:59:54 -07:00
parent b128de321b
commit 0ca9c5c0aa

View file

@ -10,12 +10,12 @@
using namespace boost::chrono;
using namespace mapnik;
void threaded_benchmark(void test(),std::string const& name, unsigned threads) {
void threaded_benchmark(void test(),std::string const& name, unsigned num_threads) {
using namespace boost::chrono;
typedef process_cpu_clock clock_type;
process_real_cpu_clock::time_point start = process_real_cpu_clock::now();
boost::thread_group threads;
for (unsigned i=0;i<threads;++i)
for (unsigned i=0;i<num_threads;++i)
{
threads.create_thread(test);
}