Skip to content

Commit

Permalink
Don't include unnecessary includes when CNN_SINGLE_THREAD is defined (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Csaba Kertész authored and edgarriba committed Jan 3, 2017
1 parent b86855a commit 7fe3c7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tiny_dnn/util/parallel_for.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
#include <tbb/task_group.h>
#endif

#ifndef CNN_USE_OMP
#if !defined(CNN_USE_OMP) && !defined(CNN_SINGLE_THREAD)
#include <thread>
#include <future>
#endif
Expand Down

0 comments on commit 7fe3c7f

Please sign in to comment.