We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2520fcf commit 6e3b667Copy full SHA for 6e3b667
src/autowiring/test/ThreadPoolTest.cpp
@@ -17,15 +17,15 @@ class ThreadPoolTest:
17
{
18
public:
19
ThreadPoolTest(void) {
20
- pool->SuggestThreadPoolSize(2);
21
- token = pool->Start();
+ m_pool->SuggestThreadPoolSize(2);
+ token = m_pool->Start();
22
}
23
24
void TearDown(void) {
25
token.reset();
26
27
28
- std::shared_ptr<T> pool = std::make_shared<T>();
+ std::shared_ptr<T> m_pool = std::make_shared<T>();
29
std::shared_ptr<void> token;
30
};
31
@@ -40,7 +40,7 @@ TYPED_TEST_P(ThreadPoolTest, PoolOverload) {
40
auto p = std::make_shared<std::promise<void>>();
41
42
for (size_t i = cap; i--;)
43
- *pool += [=] {
+ *this->m_pool += [=] {
44
if (!--*ctr)
45
p->set_value();
46
0 commit comments