[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:
Julian Lettner 2020-06-30 13:19:25 -07:00
parent 0ec712afec
commit 32791937d7
1 changed files with 1 additions and 3 deletions

View File

@ -47,9 +47,7 @@ struct VersionBase {
}; };
struct MacosVersion : VersionBase<MacosVersion> { struct MacosVersion : VersionBase<MacosVersion> {
MacosVersion(u16 ten, u16 major) : VersionBase(ten, major) { MacosVersion(u16 major, u16 minor) : VersionBase(major, minor) {}
CHECK_EQ(ten, 10);
}
}; };
struct DarwinKernelVersion : VersionBase<DarwinKernelVersion> { struct DarwinKernelVersion : VersionBase<DarwinKernelVersion> {