Skip to content

force wstringbuilder to return a wstring via WStr method#408

Merged
janwilmans merged 1 commit into
CobaltFusion:developfrom
saltybelajo:develop
Apr 19, 2026
Merged

force wstringbuilder to return a wstring via WStr method#408
janwilmans merged 1 commit into
CobaltFusion:developfrom
saltybelajo:develop

Conversation

@saltybelajo
Copy link
Copy Markdown
Contributor

After building the project, I ran into a problem that some addresses were displayed in a form of indiscernible pointers.
without

After digging for a bit, I found that the problem was that class wstringbuilder couldn't return a proper std::wstring via class WStr. My simple fix makes WStr return a dereferenced wstring, and the addresses are dereferenced correctly.
WithMethod

@janwilmans janwilmans merged commit 244e7d3 into CobaltFusion:develop Apr 19, 2026
@janwilmans
Copy link
Copy Markdown
Member

Thanks for reporting and providing the fix!! Much appriciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants