summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/Support/Program.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/Program.h b/llvm/include/llvm/Support/Program.h
index a5e6cb5bf19..acd1bcd26c7 100644
--- a/llvm/include/llvm/Support/Program.h
+++ b/llvm/include/llvm/Support/Program.h
@@ -44,7 +44,7 @@ struct ProcessInfo {
#error "ProcessInfo is not defined for this platform!"
#endif
- static const ProcessId InvalidPid = 0;
+ enum : ProcessId { InvalidPid = 0 };
/// The process identifier.
ProcessId Pid;
OpenPOWER on IntegriCloud