mirror of
https://github.com/pocoproject/poco.git
synced 2025-12-08 12:19:21 +01:00
enh(Foundation): modernised header files (override, using, nullptr, ...)
This commit is contained in:
@@ -36,7 +36,7 @@ class Foundation_API ProcessHandleImpl: public RefCountedObject
|
||||
{
|
||||
public:
|
||||
ProcessHandleImpl(pid_t pid);
|
||||
~ProcessHandleImpl();
|
||||
~ProcessHandleImpl() override;
|
||||
|
||||
pid_t id() const;
|
||||
int wait() const;
|
||||
@@ -50,9 +50,9 @@ private:
|
||||
class Foundation_API ProcessImpl
|
||||
{
|
||||
public:
|
||||
typedef pid_t PIDImpl;
|
||||
typedef std::vector<std::string> ArgsImpl;
|
||||
typedef std::map<std::string, std::string> EnvImpl;
|
||||
using PIDImpl = pid_t;
|
||||
using ArgsImpl = std::vector<std::string>;
|
||||
using EnvImpl = std::map<std::string, std::string>;
|
||||
|
||||
static PIDImpl idImpl();
|
||||
static void timesImpl(long& userTime, long& kernelTime);
|
||||
|
||||
Reference in New Issue
Block a user