Closed shenlebantongying closed 1 week ago
The reason there is such function was because the Windows version of gd::wstring is whatever we don't care anymore.
https://github.com/timonwong/goldendict/commit/babde3d53d21f8ba2a13c41d0cf2f391e6839094#diff-426cee2bb29733a476f42c3ba97c2ebc90647d51f30d6feb74b5fee3d15976b4R4-R32
Let's just use the real thing.
Failed conditions 6.7% Duplication on New Code (required ≤ 3%)
See analysis details on SonarQube Cloud
The reason there is such function was because the Windows version of gd::wstring is whatever we don't care anymore.
https://github.com/timonwong/goldendict/commit/babde3d53d21f8ba2a13c41d0cf2f391e6839094#diff-426cee2bb29733a476f42c3ba97c2ebc90647d51f30d6feb74b5fee3d15976b4R4-R32
Let's just use the real thing.