diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-11-27 23:26:00 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-11-29 23:31:41 +0100 |
| commit | 245a3fc49f1e4cf04e5abe7c1c36c750b4d1bccf (patch) | |
| tree | c0fcc99b6d385c2a4e9ea6339ba572651c5eeed0 /src/lib/grok | |
| parent | a96e7a5be8cfd74f2816616fa975de53b68f074c (diff) | |
Whitespace cleanups.
Diffstat (limited to 'src/lib/grok')
| -rw-r--r-- | src/lib/grok/messenger.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/grok/messenger.h b/src/lib/grok/messenger.h index eb2fe9560..78154c57c 100644 --- a/src/lib/grok/messenger.h +++ b/src/lib/grok/messenger.h @@ -599,16 +599,16 @@ struct Messenger return false; } - while (true) { - if (clientInitializedCondition_.wait_for(lk, std::chrono::seconds(1), [this]{ return _initialized || _shutdown; })) { - break; - } - auto status = async_result_.wait_for(std::chrono::milliseconds(100)); - if (status == std::future_status::ready) { - getMessengerLogger()->error("Grok exited unexpectedly during initialization"); - return false; - } - } + while (true) { + if (clientInitializedCondition_.wait_for(lk, std::chrono::seconds(1), [this]{ return _initialized || _shutdown; })) { + break; + } + auto status = async_result_.wait_for(std::chrono::milliseconds(100)); + if (status == std::future_status::ready) { + getMessengerLogger()->error("Grok exited unexpectedly during initialization"); + return false; + } + } return _initialized && !_shutdown; } |
