Add #pragma once to Headers Without an Include Guard

This commit is contained in:
Hanif Koh
2026-10-11 14:54:56 +08:00
parent 2df07b7ed8
commit f0c8eae488
6 changed files with 12 additions and 0 deletions
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#include <string>
namespace Slic3r {
+2
View File
@@ -1,3 +1,5 @@
#pragma once
// paper: https://people.eecs.berkeley.edu/~jrs/meshpapers/GarlandHeckbert2.pdf
// sum up: https://users.csc.calpoly.edu/~zwood/teaching/csc570/final06/jseeba/
// inspiration: https://github.com/sp4cerat/Fast-Quadric-Mesh-Simplification
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#import <Cocoa/Cocoa.h>
@interface OtherInstanceMessageHandlerMac : NSObject
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#include "slic3r/GUI/wxExtensions.hpp"
#include <map>
#include <cstdint>
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#import <Cocoa/Cocoa.h>
@interface RemovableDriveManagerMM : NSObject
+2
View File
@@ -1,3 +1,5 @@
#pragma once
#include <wx/textctrl.h>
#include <wx/colour.h>