From 8f2717e50897940f844eb9b9559581c22d538963 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bisinger?= Date: Sat, 7 Feb 2026 19:29:47 +0100 Subject: [PATCH] Add missing #pragma once to includes --- includes/std/attrs.pat | 4 +++- includes/type/base64.pat | 1 + includes/type/magic.pat | 4 +++- includes/type/path.pat | 2 ++ includes/type/size.pat | 4 +++- 5 files changed, 12 insertions(+), 3 deletions(-) diff --git a/includes/std/attrs.pat b/includes/std/attrs.pat index f5ad8a30..9a0a643d 100644 --- a/includes/std/attrs.pat +++ b/includes/std/attrs.pat @@ -1,3 +1,5 @@ +#pragma once + import std.io; import std.core; @@ -67,4 +69,4 @@ namespace auto std::attr { struct Sealed {} [[sealed]]; -} \ No newline at end of file +} diff --git a/includes/type/base64.pat b/includes/type/base64.pat index 5f4f1719..6622f572 100644 --- a/includes/type/base64.pat +++ b/includes/type/base64.pat @@ -1,3 +1,4 @@ +#pragma once import std.io; import std.string; import std.mem; diff --git a/includes/type/magic.pat b/includes/type/magic.pat index 64b85176..f26a541e 100644 --- a/includes/type/magic.pat +++ b/includes/type/magic.pat @@ -1,3 +1,5 @@ +#pragma once + import std.string; import std.sys; import std.io; @@ -42,4 +44,4 @@ namespace auto type return std::format("\"{}\"", type::escape_bytes(magic.value)); }; } -} \ No newline at end of file +} diff --git a/includes/type/path.pat b/includes/type/path.pat index 2edd5224..bcde3920 100644 --- a/includes/type/path.pat +++ b/includes/type/path.pat @@ -1,3 +1,5 @@ +#pragma once + import std.mem; /*! diff --git a/includes/type/size.pat b/includes/type/size.pat index f2231d0d..8c8aa025 100644 --- a/includes/type/size.pat +++ b/includes/type/size.pat @@ -1,3 +1,5 @@ +#pragma once + import std.io; /*! @@ -69,4 +71,4 @@ namespace auto type { } -} \ No newline at end of file +}