forked from OSchip/llvm-project
[Sanitizer] Remove obsolete assert for OS version checking on Darwin
macOS versions do not necessarily start with 10 anymore. Remove an obsolete assert.
This commit is contained in:
parent
0ec712afec
commit
32791937d7
|
@ -47,9 +47,7 @@ struct VersionBase {
|
|||
};
|
||||
|
||||
struct MacosVersion : VersionBase<MacosVersion> {
|
||||
MacosVersion(u16 ten, u16 major) : VersionBase(ten, major) {
|
||||
CHECK_EQ(ten, 10);
|
||||
}
|
||||
MacosVersion(u16 major, u16 minor) : VersionBase(major, minor) {}
|
||||
};
|
||||
|
||||
struct DarwinKernelVersion : VersionBase<DarwinKernelVersion> {
|
||||
|
|
Loading…
Reference in New Issue