From 7caecbfc327f0efb2f24a6d7a59f291aa380e1ce Mon Sep 17 00:00:00 2001 From: Vladislav Nepogodin Date: Sat, 27 Jul 2024 01:04:57 +0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20gucc:=20add=20impl=20of=20operat?= =?UTF-8?q?or=3D=3D=20for=20fs::Partition?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gucc/include/gucc/partition.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gucc/include/gucc/partition.hpp b/gucc/include/gucc/partition.hpp index 494c92d..0519a96 100644 --- a/gucc/include/gucc/partition.hpp +++ b/gucc/include/gucc/partition.hpp @@ -29,6 +29,8 @@ struct Partition final { std::optional luks_mapper_name{}; std::optional luks_uuid{}; std::optional luks_passphrase{}; + + constexpr bool operator==(const Partition&) const = default; }; } // namespace gucc::fs