Skip to content
This repository has been archived by the owner on Jun 7, 2018. It is now read-only.

Made constructors explicit to make lint tools happy. #749

Merged
merged 1 commit into from
Aug 26, 2015
Merged

Made constructors explicit to make lint tools happy. #749

merged 1 commit into from
Aug 26, 2015

Conversation

Morwenn
Copy link
Contributor

@Morwenn Morwenn commented Aug 26, 2015

I ran flint on the code and it wasn't happy because some constructors weren't explicit and may cause sneaky implicit conversions. I added explicit and the code still compiles fine.

@christopho
Copy link
Collaborator

Thanks! Explicit constructors are much safer indeed.

christopho added a commit that referenced this pull request Aug 26, 2015
Made constructors explicit to make lint tools happy.
@christopho christopho merged commit dad2f26 into solarus-games:master Aug 26, 2015
@Morwenn Morwenn deleted the explicit_constructors branch August 26, 2015 09:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants