fix a bug

This commit is contained in:
blueloveTH 2022-11-11 19:15:56 +08:00
parent c75cf86270
commit 0e6b8ab61b
2 changed files with 1 additions and 3 deletions

View File

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

View File

@ -81,6 +81,6 @@ private:
return ss.str(); return ss.str();
} }
public: 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)) {} : _Error(type, msg, __concat(snapshots)) {}
}; };