Skip to content

Conversation

@msouchon
Copy link
Contributor

The alloc_c_string(const std::optional<std::string>& str) function uses alloc_c_string(const std::string& str), however the later is not declared before use, so the former runs recursively. This could be resolved by forward declaring as well, but seemed simpler and cleaner to just reorder them.

My editor removed excess white-space in this file, I have just left it but can revert those changes if required.

@caesay
Copy link
Member

caesay commented Jun 27, 2025

Thanks!

@caesay caesay merged commit c69f0cc into velopack:develop Jun 27, 2025
@msouchon msouchon deleted the fix/cxx_wrapper_function_order branch June 27, 2025 09:17
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