]> git.ameliathe1st.gay Git - voyage-au-centre-des-fichiers.git/commitdiff
Removed useless padding: didn't know that structs were padded to their alignment...
authorAmelia Coutard <eliottulio.coutard@gmail.com>
Sat, 14 May 2022 22:43:03 +0000 (00:43 +0200)
committerAmelia Coutard <eliottulio.coutard@gmail.com>
Sat, 14 May 2022 22:43:03 +0000 (00:43 +0200)
src/paging.hpp

index 40849057360d1e281a5f18eb27dedd0cbe48f949..b5d13cd1e506215f3f6e049521802b8f4ea3858c 100644 (file)
@@ -165,7 +165,6 @@ private:
                phys_ptr<page> prev;
                phys_ptr<page> next;
                std::uint64_t size;
-               char padding[0x1000 - 8 * 3];
        };
        static_assert(sizeof(page) == 0x1000);
        static_assert(alignof(page) == 0x1000);