Fix Clang compile and link errors

This commit is contained in:
NATTSiM
2014-01-14 08:38:59 -08:00
committed by Vinnie Falco
parent dda419ddd6
commit bd0f4b95ae
3 changed files with 2 additions and 17 deletions

View File

@@ -437,10 +437,11 @@ public:
}
};
static int const callsPerThread = 10000;
static std::size_t const totalCalls = 10000;
void testThreads (std::size_t n)
{
std::size_t const callsPerThread (totalCalls / n);
beginTestCase (String::fromNumber (n) + " threads");
ServiceQueue service (n);
std::vector <ScopedPointer <ServiceThread> > threads;