fix windows build

This commit is contained in:
MihailRis
2025-06-14 23:12:32 +03:00
parent f75fd186fd
commit e146740da8
@@ -69,8 +69,8 @@ static int l_set_array(lua::State* L) {
return 0; return 0;
} }
std::vector<ubyte> buffer( std::vector<ubyte> buffer(
reinterpret_cast<const ubyte*>(data.begin()), reinterpret_cast<const ubyte*>(data.data()),
reinterpret_cast<const ubyte*>(data.end()) reinterpret_cast<const ubyte*>(data.data() + data.size())
); );
effect->setArray(key, std::move(buffer)); effect->setArray(key, std::move(buffer));
return 0; return 0;