Skip to content
Snippets Groups Projects
Commit a2f1efa5 authored by Yoel's avatar Yoel
Browse files

Made the threading-function private

parent 6e4fa1dc
No related branches found
No related tags found
No related merge requests found
......@@ -15,10 +15,8 @@ class Threadpool {
// Add a task to the queue
void queueTask(std::function<void(void)> task);
protected:
void threading();
private:
void threading();
std::vector<std::thread> threads;
bool alive;
std::queue<std::function<void(void)>> q;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment