From: Amelia Coutard <eliottulio.coutard@gmail.com>
Date: Sat, 14 May 2022 22:43:03 +0000 (+0200)
Subject: Removed useless padding: didn't know that structs were padded to their alignment... 
X-Git-Url: https://git.ameliathe1st.gay/?a=commitdiff_plain;h=f9aa86f6ced7389e40c5508eee062a1990c228a6;p=voyage-au-centre-des-fichiers.git

Removed useless padding: didn't know that structs were padded to their alignment automatically
---

diff --git a/src/paging.hpp b/src/paging.hpp
index 4084905..b5d13cd 100644
--- a/src/paging.hpp
+++ b/src/paging.hpp
@@ -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);