cwFlowTypes.h : Fixed bug in var_register_and_set().
This commit is contained in:
parent
667570f513
commit
ff43a6a9ca
@ -373,7 +373,8 @@ namespace cw
|
|||||||
variable_t* var = nullptr;
|
variable_t* var = nullptr;
|
||||||
if((rc = var_register_and_set( inst, var_label, vid, chIdx, var)) == kOkRC )
|
if((rc = var_register_and_set( inst, var_label, vid, chIdx, var)) == kOkRC )
|
||||||
{
|
{
|
||||||
var_set( var, val );
|
var_set( inst, vid, chIdx, val );
|
||||||
|
|
||||||
if((rc = _var_register_and_set( inst, chIdx, std::forward<ARGS>(args)...)) != kOkRC )
|
if((rc = _var_register_and_set( inst, chIdx, std::forward<ARGS>(args)...)) != kOkRC )
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user