Skip to content

Conversation

@Flamefire
Copy link
Member

The time limit of 1h is not enough to build the release version.

@Flamefire Flamefire marked this pull request as draft September 29, 2024 12:13
@Flamefire Flamefire force-pushed the fix/windows-ci branch 13 times, most recently from 2cd88c7 to 39650a0 Compare September 29, 2024 16:40
The time limit of 1h is not enough to build the release version.
`boost::filesystem::path` allows conversion from anything that is
convertible to a string-ish type, like C-Strings or `std::string`.
`kaguya::LuaRef` is convertible to everything (but may fail at runtime)
which makes the conversion to that ambiguous.
This becomes a problem for `ImageResource` which has an implicit
conversion from `boost::filesystem::path` so implicitely converting
`kaguya::LuaRef` to `ImageResource` will make the compiler try the
conversion to `boost::filesystem::path` causing an error.

Use the `get<T>` member function to avoid the atempted implicit conversion.
@Flamefire Flamefire marked this pull request as ready for review September 30, 2024 07:41
@Flamefire Flamefire enabled auto-merge October 1, 2024 07:55
@Flamefire Flamefire merged commit 02917bc into Return-To-The-Roots:master Oct 1, 2024
21 checks passed
@Flamefire Flamefire deleted the fix/windows-ci branch October 1, 2024 17:44
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