Skip to content

Commit 7e39390

Browse files
EscapeZerofacebook-github-bot
authored andcommitted
fix compilation issues with DISPENSO_DEBUG
Reviewed By: graphicsMan Differential Revision: D64125455 fbshipit-source-id: 155d6a5e7b81fbad1d30a6c2e41a7b349d032193
1 parent 5add77d commit 7e39390

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

dispenso/thread_pool.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8+
#include <dispenso/detail/quanta.h>
9+
#include <dispenso/thread_pool.h>
10+
811
#if defined DISPENSO_DEBUG
912
#include <iostream>
1013
#endif // DISPENSO_DEBUG
11-
#include <dispenso/detail/quanta.h>
12-
#include <dispenso/thread_pool.h>
1314

1415
namespace dispenso {
1516

dispenso/thread_pool.h

+1
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ class alignas(kCacheLineSize) ThreadPool {
249249

250250
friend class ConcurrentTaskSet;
251251
friend class TaskSet;
252+
friend class TaskSetBase;
252253
};
253254

254255
/**

0 commit comments

Comments
 (0)