You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #107469 from Ivorforce/vector-localvector-explicit-span-conversions
Remove implicit conversions between `LocalVector` and `Vector`
This commit is contained in:
@@ -525,7 +525,7 @@ void AudioStreamWAV::set_data(const Vector<uint8_t> &p_data) {
|
||||
}
|
||||
|
||||
Vector<uint8_t> AudioStreamWAV::get_data() const {
|
||||
return data;
|
||||
return Vector<uint8_t>(data);
|
||||
}
|
||||
|
||||
Error AudioStreamWAV::save_to_wav(const String &p_path) {
|
||||
|
||||
Reference in New Issue
Block a user