blueloveTH vor 3 Jahren
Ursprung
Commit
0e6b8ab61b
2 geänderte Dateien mit 1 neuen und 3 gelöschten Zeilen
  1. 0 2
      .github/workflows/main.yml
  2. 1 1
      src/error.h

+ 0 - 2
.github/workflows/main.yml

@@ -23,8 +23,6 @@ jobs:
     steps:
     - uses: actions/checkout@v2
     - uses: mymindstorm/setup-emsdk@v11
-      with:
-        emsdk-version: 3.1.25
     - name: Compiling
       run: |
         bash build_wasm.sh

+ 1 - 1
src/error.h

@@ -81,6 +81,6 @@ private:
         return ss.str();
     }
 public:
-    RuntimeError(_Str type, _Str msg, std::stack<_Str> snapshots)
+    RuntimeError(_Str type, _Str msg, const std::stack<_Str>& snapshots)
         : _Error(type, msg, __concat(snapshots)) {}
 };