Compare commits

..
Author SHA1 Message Date
Hanif Koh f0c8eae488 Add #pragma once to Headers Without an Include Guard 2026-10-11 14:54:56 +08:00
7 changed files with 12 additions and 7 deletions
-7
View File
@@ -179,13 +179,6 @@ jobs:
if: runner.os == 'macOS' && !inputs.macos-combine-only && !vars.SELF_HOSTED
run: |
df -hI /
# Deleting the unused Xcodes takes minutes, so only do it when the
# build might not fit. A cold build uses under 4 GiB after this step.
avail_gib=$(df -g / | awk 'NR == 2 { print $4 }')
if [ "$avail_gib" -ge 15 ]; then
echo "$avail_gib GiB free, enough for the build"
exit 0
fi
# Keep only the selected Xcode
xcode=$(basename "$(cd "$(xcode-select -p)/../.." && pwd -P)")
sudo find /Applications -maxdepth 1 -type d -name "Xcode_*.app" ! -name "$xcode" -exec rm -rf {} +
+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>