From da3170bbd4844f494387765d297783bd328d3e62 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Thu, 19 Jan 2017 09:05:52 +0100 Subject: [PATCH] Update process.hpp --- src/uvw/process.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/uvw/process.hpp b/src/uvw/process.hpp index 03a2d061..380cc5e2 100644 --- a/src/uvw/process.hpp +++ b/src/uvw/process.hpp @@ -46,12 +46,12 @@ enum class UVStdIOFlags: std::underlying_type_t { * It will be emitted by ProcessHandle according with its functionalities. */ struct ExitEvent: Event { - explicit ExitEvent(int64_t exit_status, int term_signal) noexcept - : exitStatus{exit_status}, termSignal{term_signal} + explicit ExitEvent(int64_t code, int sig) noexcept + : status{code}, signal{sig} {} - int64_t exitStatus; /*!< the exit status. */ - int termSignal; /*!< the signal that caused the process to terminate, if any. */ + int64_t status; /*!< The exit status. */ + int signal; /*!< The signal that caused the process to terminate, if any. */ }; /**