summaryrefslogtreecommitdiff
path: root/src/utils/process.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-04 19:11:53 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-04 19:11:53 +0300
commit3a407bb6b73a186eafd99bcec570f88097c4b2e1 (patch)
treeea57a752c348ba0a883294855ad3c62c16e9749d /src/utils/process.cpp
parent872fc368f7b253f26714fc47323064f270b62b40 (diff)
downloadManaVerse-3a407bb6b73a186eafd99bcec570f88097c4b2e1.tar.gz
ManaVerse-3a407bb6b73a186eafd99bcec570f88097c4b2e1.tar.bz2
ManaVerse-3a407bb6b73a186eafd99bcec570f88097c4b2e1.tar.xz
ManaVerse-3a407bb6b73a186eafd99bcec570f88097c4b2e1.zip
Add const to more classes.
Diffstat (limited to 'src/utils/process.cpp')
-rw-r--r--src/utils/process.cpp2
1 files changed, 1 insertions, 1 deletions
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)
{