From: Gerd von Egidy Date: Wed, 9 Sep 2015 08:04:33 +0000 (+0200) Subject: pid() is const X-Git-Tag: v0.3~1 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=2491b8a2fd6ea459ef07bf10d23fabd132bb6c4e;p=libasyncio pid() is const --- 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: