Skip to content

Commit 72a171d

Browse files
committed
Please compile now!
1 parent a06b01a commit 72a171d

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

lib/remote/crproducer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ void CheckResultProducerComponent::Stop()
7676
*/
7777
template<class C, class M>
7878
inline
79-
CheckResultProducerComponent::State CheckResultProducerComponent::ModifyState(const C& cond, const M& mod)
79+
State CheckResultProducerComponent::ModifyState(const C& cond, const M& mod)
8080
{
8181
auto expected (m_State.load());
8282
decltype(expected) desired;
@@ -95,7 +95,7 @@ CheckResultProducerComponent::State CheckResultProducerComponent::ModifyState(co
9595

9696
template<class M>
9797
inline
98-
CheckResultProducerComponent::State CheckResultProducerComponent::ModifyState(const M& mod)
98+
State CheckResultProducerComponent::ModifyState(const M& mod)
9999
{
100100
return ModifyState([](auto) { return true; }, mod);
101101
}

lib/remote/crproducer.hpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ class UnitTestCRP : public CheckResultProducer
4242
void unlock_shared() noexcept override;
4343
};
4444

45+
struct State
46+
{
47+
uint32_t InstanceIsActive = 0;
48+
uint32_t ProcessingCheckResults = 0;
49+
};
50+
4551
class CheckResultProducerComponent : public CheckResultProducer
4652
{
4753
public:
@@ -53,12 +59,6 @@ class CheckResultProducerComponent : public CheckResultProducer
5359
void Stop();
5460

5561
private:
56-
struct State
57-
{
58-
uint32_t InstanceIsActive = 0;
59-
uint32_t ProcessingCheckResults = 0;
60-
};
61-
6262
Atomic<State> m_State {State{}};
6363
std::mutex m_Mutex;
6464
std::condition_variable m_CV;

0 commit comments

Comments
 (0)