Let 32 bit platforms compile
authorBastian Germann <bage@debian.org>
Thu, 27 Mar 2025 11:34:27 +0000 (12:34 +0100)
committerBastian Germann <bage@debian.org>
Thu, 27 Mar 2025 10:56:02 +0000 (11:56 +0100)
Gbp-Pq: Name Let-32-bit-platforms-compile.patch

src/backend/bookshelfmodel/btbookshelftreemodel.cpp

index d310d1458f4b37b296c6a026c73d534782f89dfa..e7e8a3f65d8e33c9cc2361c051bf6cdfc6691979 100644 (file)
@@ -644,7 +644,6 @@ QDataStream & operator >>(QDataStream & is,
     } else {
         // If other strange platforms need to be supported, please let us know:
         static_assert(sizeof(int) == 4, "Platform not supported");
-        static_assert(sizeof(Size) == 8, "Platform not supported");
 
         // The following relies on Qt providing us a datastream which only
         // contains the serialized value and an optional ')' at the end. See