aboutsummaryrefslogtreecommitdiffstats
path: root/lib/System/Win32
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
commitc5e639c1b8eb54e0af46b3a529d0a1cac39f8ded (patch)
tree27bc669df07e88bd3a43250b64a7e58bf7e9cca8 /lib/System/Win32
parent7490029b28358b8251bf525e199b2618a7da4afa (diff)
downloadexternal_llvm-c5e639c1b8eb54e0af46b3a529d0a1cac39f8ded.zip
external_llvm-c5e639c1b8eb54e0af46b3a529d0a1cac39f8ded.tar.gz
external_llvm-c5e639c1b8eb54e0af46b3a529d0a1cac39f8ded.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/Win32')
-rw-r--r--lib/System/Win32/Program.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/Win32/Program.inc b/lib/System/Win32/Program.inc
index b23fdce..87f9e64 100644
--- a/lib/System/Win32/Program.inc
+++ b/lib/System/Win32/Program.inc
@@ -35,7 +35,7 @@ Program::~Program() {
}
}
-unsigned Program::GetPid() {
+unsigned Program::GetPid() const {
HANDLE hProcess = reinterpret_cast<HANDLE>(Data_);
return GetProcessId(hProcess);
}