Skip to content

Ambigious ctor#2112

Closed
SMJSProductions wants to merge 2 commits into
geode-sdk:mainfrom
SMJSProductions:ambigious-ctor
Closed

Ambigious ctor#2112
SMJSProductions wants to merge 2 commits into
geode-sdk:mainfrom
SMJSProductions:ambigious-ctor

Conversation

@SMJSProductions

@SMJSProductions SMJSProductions commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

The main copy CTOR already allows CCPoint being used to construct CCSize, making it ambiguous to use when providing an initializer list (e.g. m_contentSize({ 0, 0 }))

@SMJSProductions

Copy link
Copy Markdown
Contributor Author

Apparently I forgot to merge master so ignore the random extra commit

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

looks good

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