Commit 88bd1e4e authored by Gustavo Valiente's avatar Gustavo Valiente

GCC 4.9 warnings removed

parent 186382eb
...@@ -79,7 +79,7 @@ namespace ...@@ -79,7 +79,7 @@ namespace
} }
}; };
std::array<Task, PT_MAX_CPU_THREADS> tasks{}; std::array<Task, PT_MAX_CPU_THREADS> tasks;
Dispatcher& dispatcher = layerData.dispatcher; Dispatcher& dispatcher = layerData.dispatcher;
auto threads = int(dispatcher.threads()); auto threads = int(dispatcher.threads());
......
...@@ -94,7 +94,7 @@ namespace ...@@ -94,7 +94,7 @@ namespace
} }
}; };
std::array<Task, PT_MAX_CPU_THREADS> tasks{}; std::array<Task, PT_MAX_CPU_THREADS> tasks;
Dispatcher& dispatcher = layerData.dispatcher; Dispatcher& dispatcher = layerData.dispatcher;
auto threads = int(dispatcher.threads()); auto threads = int(dispatcher.threads());
......
...@@ -65,7 +65,7 @@ namespace ...@@ -65,7 +65,7 @@ namespace
} }
}; };
std::array<Task, PT_MAX_CPU_THREADS> tasks{}; std::array<Task, PT_MAX_CPU_THREADS> tasks;
Dispatcher& dispatcher = layerData.dispatcher; Dispatcher& dispatcher = layerData.dispatcher;
auto threads = int(dispatcher.threads()); auto threads = int(dispatcher.threads());
......
...@@ -85,7 +85,7 @@ namespace ...@@ -85,7 +85,7 @@ namespace
} }
}; };
std::array<Task, PT_MAX_CPU_THREADS> tasks{}; std::array<Task, PT_MAX_CPU_THREADS> tasks;
Dispatcher& dispatcher = layerData.dispatcher; Dispatcher& dispatcher = layerData.dispatcher;
auto threads = int(dispatcher.threads()); auto threads = int(dispatcher.threads());
......
...@@ -85,7 +85,7 @@ namespace ...@@ -85,7 +85,7 @@ namespace
} }
}; };
std::array<Task, PT_MAX_CPU_THREADS> tasks{}; std::array<Task, PT_MAX_CPU_THREADS> tasks;
Dispatcher& dispatcher = layerData.dispatcher; Dispatcher& dispatcher = layerData.dispatcher;
auto threads = int(dispatcher.threads()); auto threads = int(dispatcher.threads());
......
...@@ -52,7 +52,7 @@ namespace ...@@ -52,7 +52,7 @@ namespace
} }
}; };
std::array<Task, PT_MAX_CPU_THREADS> tasks{}; std::array<Task, PT_MAX_CPU_THREADS> tasks;
auto threads = int(dispatcher.threads()); auto threads = int(dispatcher.threads());
for(int taskId = 0; taskId != threads; ++taskId) for(int taskId = 0; taskId != threads; ++taskId)
...@@ -97,7 +97,7 @@ namespace ...@@ -97,7 +97,7 @@ namespace
} }
}; };
std::array<Task, PT_MAX_CPU_THREADS> tasks{}; std::array<Task, PT_MAX_CPU_THREADS> tasks;
auto threads = int(dispatcher.threads()); auto threads = int(dispatcher.threads());
for(int taskId = 0; taskId != threads; ++taskId) for(int taskId = 0; taskId != threads; ++taskId)
...@@ -161,7 +161,7 @@ namespace ...@@ -161,7 +161,7 @@ namespace
} }
}; };
std::array<Task, PT_MAX_CPU_THREADS> tasks{}; std::array<Task, PT_MAX_CPU_THREADS> tasks;
auto threads = int(dispatcher.threads()); auto threads = int(dispatcher.threads());
for(int taskId = 0; taskId != threads; ++taskId) for(int taskId = 0; taskId != threads; ++taskId)
...@@ -208,7 +208,7 @@ namespace ...@@ -208,7 +208,7 @@ namespace
} }
}; };
std::array<Task, PT_MAX_CPU_THREADS> tasks{}; std::array<Task, PT_MAX_CPU_THREADS> tasks;
auto threads = int(dispatcher.threads()); auto threads = int(dispatcher.threads());
for(int taskId = 0; taskId != threads; ++taskId) for(int taskId = 0; taskId != threads; ++taskId)
......
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