Skip to content

Commit

Permalink
Merge pull request #17 from FreddyFunk/submodule-fix
Browse files Browse the repository at this point in the history
Submodule fix
  • Loading branch information
mtrebi committed Feb 19, 2019
2 parents 9ca1130 + a63d861 commit 1c80f3a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main.cpp → example/example.cpp
@@ -1,8 +1,7 @@
#include <iostream>
#include <random>
#include <thread>

#include "ThreadPool.h"
#include "../include/ThreadPool.h"

std::random_device rd;
std::mt19937 mt(rd());
Expand Down Expand Up @@ -37,7 +36,7 @@ int multiply_return(const int a, const int b) {
}


int main() {
void example() {
// Create pool with 3 threads
ThreadPool pool(3);

Expand Down

0 comments on commit 1c80f3a

Please sign in to comment.