diff --git a/src/lib/homeobject_impl.cpp b/src/lib/homeobject_impl.cpp index 177a7dff..cdcdbb6d 100644 --- a/src/lib/homeobject_impl.cpp +++ b/src/lib/homeobject_impl.cpp @@ -2,8 +2,7 @@ namespace homeobject { -HomeObjectImpl::HomeObjectImpl(std::weak_ptr< HomeObjectApplication >&& application, - DeferType defer_type = DeferType::IMMEDIATE) : +HomeObjectImpl::HomeObjectImpl(std::weak_ptr< HomeObjectApplication >&& application, DeferType defer_type) : _application(std::move(application)) { switch (defer_type) { [[likely]] case DeferType::IMMEDIATE: