From 257d1bcb1e11cc2f79b16acb368c313c0ed17eeb Mon Sep 17 00:00:00 2001 From: Brian Szmyd Date: Thu, 19 Oct 2023 12:55:12 -0700 Subject: [PATCH] Remove default. --- src/lib/homeobject_impl.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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: