We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cce2cf4 commit 92f69d7Copy full SHA for 92f69d7
1 file changed
include/MockOmsAdapter.h
@@ -34,14 +34,15 @@ 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).
44
- explicit MockOmsAdapter(Config config = Config{});
+ explicit MockOmsAdapter();
45
+ explicit MockOmsAdapter(Config config);
46
47
/// Destructor: calls stop() to join the background thread.
48
~MockOmsAdapter() override;
0 commit comments