"test/vscode:/vscode.git/clone" did not exist on "1c97db8abed923e12159c46cd9552c54bf49b5fc"
Commit d67e7961 authored by Paul's avatar Paul
Browse files

Formatting

parent 50488584
...@@ -40,9 +40,9 @@ void par_for_impl(std::size_t n, std::size_t threadsize, F f) ...@@ -40,9 +40,9 @@ void par_for_impl(std::size_t n, std::size_t threadsize, F f)
std::vector<joinable_thread> threads(threadsize); std::vector<joinable_thread> threads(threadsize);
// Using const here causes gcc 5 to ICE // Using const here causes gcc 5 to ICE
#if(!defined(__GNUC__) || __GNUC__ != 5) #if(!defined(__GNUC__) || __GNUC__ != 5)
const const
#endif #endif
std::size_t grainsize = std::ceil(static_cast<double>(n) / threads.size()); std::size_t grainsize = std::ceil(static_cast<double>(n) / threads.size());
std::size_t work = 0; std::size_t work = 0;
std::generate(threads.begin(), threads.end(), [=, &work] { std::generate(threads.begin(), threads.end(), [=, &work] {
......
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