Skip to content

Conversation

carlopi
Copy link
Contributor

@carlopi carlopi commented Aug 15, 2023

Follow up of #8533, fixing a template deduction problem in older gcc compilers.

This should fix failures in nightly jobs Linux 32 bit, gcc 4.8 and Python Address Sanitizer. Tested in my fork at https://github.com/carlopi/duckdb/actions/runs/5864648533.

@carlopi carlopi requested a review from Tishj August 15, 2023 12:58
Copy link
Contributor

@Tishj Tishj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, that looks like it should do the trick
emplace will forward the arguments to the pair constructor, the problem before was that it couldn't infer that BoundParameterData could be constructed from Value.

Or maybe the fact that that constructor is explicit might be the problem, either way, this looks good 👍

@carlopi
Copy link
Contributor Author

carlopi commented Aug 15, 2023

Failure is unrelated, this is good to go.

@hannes hannes merged commit ca1301a into duckdb:master Aug 16, 2023
@hannes
Copy link
Member

hannes commented Aug 16, 2023

Thanks

@carlopi carlopi deleted the fix_gcc branch August 21, 2023 10:59
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.

3 participants