mirror of
				https://github.com/pocoproject/poco.git
				synced 2025-10-25 18:22:59 +02:00 
			
		
		
		
	style fixes
This commit is contained in:
		| @@ -39,6 +39,7 @@ ProcessHandleImpl::~ProcessHandleImpl() | |||||||
| 	closeHandle(); | 	closeHandle(); | ||||||
| } | } | ||||||
|  |  | ||||||
|  |  | ||||||
| void ProcessHandleImpl::closeHandle() | void ProcessHandleImpl::closeHandle() | ||||||
| { | { | ||||||
| 	if (_hProcess) | 	if (_hProcess) | ||||||
| @@ -48,6 +49,7 @@ void ProcessHandleImpl::closeHandle() | |||||||
| 	} | 	} | ||||||
| } | } | ||||||
|  |  | ||||||
|  |  | ||||||
| UInt32 ProcessHandleImpl::id() const | UInt32 ProcessHandleImpl::id() const | ||||||
| { | { | ||||||
| 	return _pid; | 	return _pid; | ||||||
|   | |||||||
| @@ -40,6 +40,7 @@ ProcessHandleImpl::~ProcessHandleImpl() | |||||||
| 	closeHandle(); | 	closeHandle(); | ||||||
| } | } | ||||||
|  |  | ||||||
|  |  | ||||||
| void ProcessHandleImpl::closeHandle() | void ProcessHandleImpl::closeHandle() | ||||||
| { | { | ||||||
| 	if (_hProcess) | 	if (_hProcess) | ||||||
| @@ -49,6 +50,7 @@ void ProcessHandleImpl::closeHandle() | |||||||
| 	} | 	} | ||||||
| } | } | ||||||
|  |  | ||||||
|  |  | ||||||
| UInt32 ProcessHandleImpl::id() const | UInt32 ProcessHandleImpl::id() const | ||||||
| { | { | ||||||
| 	return _pid; | 	return _pid; | ||||||
| @@ -298,7 +300,8 @@ void ProcessImpl::killImpl(PIDImpl pid) | |||||||
| 			throw SystemException("cannot kill process"); | 			throw SystemException("cannot kill process"); | ||||||
| 		} | 		} | ||||||
| 		CloseHandle(hProc); | 		CloseHandle(hProc); | ||||||
| 	} else | 	}  | ||||||
|  | 	else | ||||||
| 	{ | 	{ | ||||||
| 		switch (GetLastError()) | 		switch (GetLastError()) | ||||||
| 		{ | 		{ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Guenter Obiltschnig
					Guenter Obiltschnig