diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2009-09-08 19:51:39 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2009-09-08 19:51:39 +0000 |
commit | c22675b5428d579d4eca15ee8a0ff701942738c4 (patch) | |
tree | 27bc669df07e88bd3a43250b64a7e58bf7e9cca8 /lib/System/Unix | |
parent | 40e9b8e67071c3aa53f12ee46062f727c4ca80ed (diff) | |
download | external_llvm-c22675b5428d579d4eca15ee8a0ff701942738c4.zip external_llvm-c22675b5428d579d4eca15ee8a0ff701942738c4.tar.gz external_llvm-c22675b5428d579d4eca15ee8a0ff701942738c4.tar.bz2 |
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')
-rw-r--r-- | lib/System/Unix/Program.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/Unix/Program.inc b/lib/System/Unix/Program.inc index ce75710..f5290b4 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_); } |