summaryrefslogtreecommitdiff
path: root/www-client/chromium/files
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/chromium/files')
-rw-r--r--www-client/chromium/files/chromium-99-sqlcursor.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/www-client/chromium/files/chromium-99-sqlcursor.patch b/www-client/chromium/files/chromium-99-sqlcursor.patch
new file mode 100644
index 0000000..c7041cd
--- /dev/null
+++ b/www-client/chromium/files/chromium-99-sqlcursor.patch
@@ -0,0 +1,16 @@
+diff --git a/sql/recover_module/cursor.h b/sql/recover_module/cursor.h
+index 845b78526..cf39d8021 100644
+--- a/sql/recover_module/cursor.h
++++ b/sql/recover_module/cursor.h
+@@ -63,8 +63,9 @@ class VirtualCursor {
+ // |sqlite_cursor| must have been returned by VirtualTable::SqliteCursor().
+ static inline VirtualCursor* FromSqliteCursor(
+ sqlite3_vtab_cursor* sqlite_cursor) {
+- static_assert(std::is_standard_layout<VirtualCursor>::value,
+- "needed for the reinterpret_cast below");
++ //dont care
++ //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");
+ VirtualCursor* result = reinterpret_cast<VirtualCursor*>(sqlite_cursor);