- val_t value = s_val::PJ_value_get_or_new ("computing", nullptr, type);
- new PushStateEvent (SIMIX_get_clock(), container, type, value, static_cast<void*>(extra));
+ value* val = value::get_or_new("computing", nullptr, type);
+ new PushStateEvent(SIMIX_get_clock(), container, type, val, static_cast<void*>(extra));