Skip to content

Commit cce2cf4

Browse files
committed
fix: add explicit default ctor to Config for GCC compat
1 parent cf7c085 commit cce2cf4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

include/MockOmsAdapter.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,14 @@ class MockOmsAdapter : public OmsAdapter {
3434
struct Config {
3535
/// Delay between consecutive state emissions.
3636
std::chrono::milliseconds emit_interval{10};
37+
Config() = default;
3738
};
3839

3940
/// Construct the mock adapter with the given configuration.
4041
///
4142
/// # Arguments
4243
/// * `config` — Emission timing parameters (default: 10 ms interval).
43-
explicit MockOmsAdapter(Config config = {});
44+
explicit MockOmsAdapter(Config config = Config{});
4445

4546
/// Destructor: calls stop() to join the background thread.
4647
~MockOmsAdapter() override;

0 commit comments

Comments
 (0)