summaryrefslogtreecommitdiff
path: root/lib/System/Unix/Program.inc
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2009-09-08 19:51:39 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2009-09-08 19:51:39 +0000
commitc22675b5428d579d4eca15ee8a0ff701942738c4 (patch)
tree27bc669df07e88bd3a43250b64a7e58bf7e9cca8 /lib/System/Unix/Program.inc
parent40e9b8e67071c3aa53f12ee46062f727c4ca80ed (diff)
downloadllvm-c22675b5428d579d4eca15ee8a0ff701942738c4.tar.gz
llvm-c22675b5428d579d4eca15ee8a0ff701942738c4.tar.bz2
llvm-c22675b5428d579d4eca15ee8a0ff701942738c4.tar.xz
Const-correctness.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81249 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Unix/Program.inc')
-rw-r--r--lib/System/Unix/Program.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/Unix/Program.inc b/lib/System/Unix/Program.inc
index ce757105f8..f5290b4075 100644
--- a/lib/System/Unix/Program.inc
+++ b/lib/System/Unix/Program.inc
@@ -38,7 +38,7 @@ Program::Program() : Data_(0) {}
Program::~Program() {}
-unsigned Program::GetPid() {
+unsigned Program::GetPid() const {
return reinterpret_cast<unsigned>(Data_);
}