From 2491b8a2fd6ea459ef07bf10d23fabd132bb6c4e Mon Sep 17 00:00:00 2001 From: Gerd von Egidy Date: Wed, 9 Sep 2015 10:04:33 +0200 Subject: [PATCH] pid() is const --- asyncio/async_process.hpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/asyncio/async_process.hpp b/asyncio/async_process.hpp index bc56b43..aed7b20 100644 --- a/asyncio/async_process.hpp +++ b/asyncio/async_process.hpp @@ -126,7 +126,7 @@ class ProcessImplementation : public IOImplementation bool kill(const Signal signal); /// returns the pid of the child process - pid_t pid() { return m_pid; } + pid_t pid() const { return m_pid; } protected: -- 1.7.1