mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-24 01:11:15 -03:00
Convert event_type_t to an enum class
This commit is contained in:
@@ -434,7 +434,7 @@ int main(int argc, char **argv) {
|
||||
|
||||
// TODO: The generic process-exit event is useless and unused.
|
||||
// Remove this in future.
|
||||
proc_fire_event(L"PROCESS_EXIT", EVENT_EXIT, getpid(), exit_status);
|
||||
proc_fire_event(L"PROCESS_EXIT", event_type_t::exit, getpid(), exit_status);
|
||||
|
||||
// Trigger any exit handlers.
|
||||
wcstring_list_t event_args = {to_string(exit_status)};
|
||||
|
||||
Reference in New Issue
Block a user