We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf7c085 commit cce2cf4Copy full SHA for cce2cf4
1 file changed
include/MockOmsAdapter.h
@@ -34,13 +34,14 @@ class MockOmsAdapter : public OmsAdapter {
34
struct Config {
35
/// Delay between consecutive state emissions.
36
std::chrono::milliseconds emit_interval{10};
37
+ Config() = default;
38
};
39
40
/// Construct the mock adapter with the given configuration.
41
///
42
/// # Arguments
43
/// * `config` — Emission timing parameters (default: 10 ms interval).
- explicit MockOmsAdapter(Config config = {});
44
+ explicit MockOmsAdapter(Config config = Config{});
45
46
/// Destructor: calls stop() to join the background thread.
47
~MockOmsAdapter() override;
0 commit comments