1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Replace static const int with enum to fix obnoxious linker errors about a missing definition

llvm-svn: 259712
This commit is contained in:
Reid Kleckner 2016-02-03 21:45:39 +00:00
parent 0bfde8fac7
commit cecfc2dd9e

View File

@ -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;