enh(Foundation): modernised header files (override, using, nullptr, ...)

This commit is contained in:
Matej Kenda
2025-02-10 14:52:52 +01:00
parent 9e4e039c04
commit e7687d4bba
184 changed files with 1487 additions and 1797 deletions

View File

@@ -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);