mirror of
https://github.com/ETLCPP/etl.git
synced 2026-06-19 02:16:55 +08:00
Modified valid check call
This commit is contained in:
parent
8509df67c7
commit
0165ce4a9c
@ -197,7 +197,7 @@ namespace etl
|
||||
//*************************************************************************
|
||||
TReturn operator()(TParams... args) const
|
||||
{
|
||||
ETL_ASSERT(invocation.stub != nullptr, ETL_ERROR(delegate_uninitialised));
|
||||
ETL_ASSERT(is_valid(), ETL_ERROR(delegate_uninitialised));
|
||||
|
||||
return (*invocation.stub)(invocation.object, args...);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user