Skip to content

Commit a4b5bd3

Browse files
authored
Update ExecuteScriptWithResult.md
1 parent cbc9b7f commit a4b5bd3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

specs/ExecuteScriptWithResult.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ std::wstring GenerateScriptCode(LPCWSTR str, LPCWSTR reg, LPCWSTR item)
2828
return L"";
2929
}
3030

31-
static std::wstringstream sw;
32-
sw.clear();
31+
std::wstringstream sw;
3332

3433
sw << L"(() => { let str = \"" << str << L"\"; let n = str.replace("
3534
<< reg << L", \"" << item << L"\"); return n; })();";

0 commit comments

Comments
 (0)