diff --git a/include/etl/private/delegate_cpp11.h b/include/etl/private/delegate_cpp11.h index e85cd895..37458d43 100644 --- a/include/etl/private/delegate_cpp11.h +++ b/include/etl/private/delegate_cpp11.h @@ -464,10 +464,8 @@ namespace etl /// Constructs a delegate from an object and stub. //************************************************************************* ETL_CONSTEXPR14 delegate(void* object, stub_type stub) - //: invocation(object, stub) + : invocation(object, stub) { - invocation.object = object; - invocation.stub = stub; } //*************************************************************************