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::value, - "needed for the reinterpret_cast below"); + //dont care + //static_assert(std::is_standard_layout::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(sqlite_cursor);