Skip to content

Commit a534e2a

Browse files
authored
Add missing #pragma once to includes (#494)
1 parent 525f3ad commit a534e2a

File tree

5 files changed

+12
-3
lines changed

5 files changed

+12
-3
lines changed

includes/std/attrs.pat

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#pragma once
2+
13
import std.io;
24
import std.core;
35

@@ -67,4 +69,4 @@ namespace auto std::attr {
6769
struct Sealed {}
6870
[[sealed]];
6971

70-
}
72+
}

includes/type/base64.pat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#pragma once
12
import std.io;
23
import std.string;
34
import std.mem;

includes/type/magic.pat

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#pragma once
2+
13
import std.string;
24
import std.sys;
35
import std.io;
@@ -42,4 +44,4 @@ namespace auto type
4244
return std::format("\"{}\"", type::escape_bytes(magic.value));
4345
};
4446
}
45-
}
47+
}

includes/type/path.pat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#pragma once
2+
13
import std.mem;
24

35
/*!

includes/type/size.pat

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#pragma once
2+
13
import std.io;
24

35
/*!
@@ -69,4 +71,4 @@ namespace auto type {
6971

7072
}
7173

72-
}
74+
}

0 commit comments

Comments
 (0)