diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0457f446..c08ecb1e 100644 --- a/.github/workflows/main.yml +++ b/.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 diff --git a/src/error.h b/src/error.h index 6a5c60a0..653cc071 100644 --- a/src/error.h +++ b/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)) {} }; \ No newline at end of file