summaryrefslogtreecommitdiff
path: root/www-client/chromium/files
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2022-01-11 19:53:55 -0500
committerGravatar Chris Xiong <chirs241097@gmail.com> 2022-01-11 19:53:55 -0500
commit76405a527b3e2f638aab86af15330e44e3be5691 (patch)
tree1f5d1f1d0489761abae6b728f5bdb01f1234d5f9 /www-client/chromium/files
parentb71e225de0eac3324f1bfb5f88d3eab305fc4e7c (diff)
downloadppo-76405a527b3e2f638aab86af15330e44e3be5691.tar.xz
still trying to fix
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);