From 3a407bb6b73a186eafd99bcec570f88097c4b2e1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 4 Sep 2012 19:11:53 +0300 Subject: Add const to more classes. --- src/utils/process.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils/process.cpp') diff --git a/src/utils/process.cpp b/src/utils/process.cpp index 36e53c305..a5629fbc9 100644 --- a/src/utils/process.cpp +++ b/src/utils/process.cpp @@ -176,7 +176,7 @@ int execFileWait(std::string pathName, std::string name, } // monitoring process - pid_t exited_pid = wait(&status); + const pid_t exited_pid = wait(&status); int ret = -1; if (exited_pid == pid) { -- cgit v1.2.3-60-g2f50