You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Fix warnings found by Emscripten 3.1.10
Fix `-Wunused-but-set-variable`, `-Wunqualified-std-cast-call`, and `-Wliteral-range` warnings.
This commit is contained in:
@@ -94,7 +94,7 @@ void ImageLoaderSVG::create_image_from_string(Ref<Image> p_image, String p_strin
|
||||
ERR_FAIL_MSG("ImageLoaderSVG can't create image.");
|
||||
}
|
||||
|
||||
res = sw_canvas->push(move(picture));
|
||||
res = sw_canvas->push(std::move(picture));
|
||||
if (res != tvg::Result::Success) {
|
||||
memfree(buffer);
|
||||
ERR_FAIL_MSG("ImageLoaderSVG can't create image.");
|
||||
|
||||
Reference in New Issue
Block a user