Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Backports:SLE-15-SP4:Update
chromium.17887
chromium-94-sql-no-assert.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File chromium-94-sql-no-assert.patch of Package chromium.17887
--- a/sql/recover_module/cursor.h +++ b/sql/recover_module/cursor.h @@ -62,10 +62,12 @@ // |sqlite_cursor| must have been returned by VirtualTable::SqliteCursor(). static inline VirtualCursor* FromSqliteCursor( sqlite3_vtab_cursor* sqlite_cursor) { +#ifndef NDEBUG static_assert(std::is_standard_layout<VirtualCursor>::value, "needed for the reinterpret_cast below"); static_assert(offsetof(VirtualCursor, sqlite_cursor_) == 0, "sqlite_cursor_ must be the first member of the class"); +#endif VirtualCursor* result = reinterpret_cast<VirtualCursor*>(sqlite_cursor); DCHECK_EQ(sqlite_cursor, &result->sqlite_cursor_); return result;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor