fix lua::tovalue
This commit is contained in:
parent
6eda819011
commit
ac7e7a4c2f
@ -133,7 +133,6 @@ dv::value lua::tovalue(State* L, int idx) {
|
|||||||
auto bytes = std::make_shared<dv::objects::Bytes>(
|
auto bytes = std::make_shared<dv::objects::Bytes>(
|
||||||
reinterpret_cast<const ubyte*>(data.data()), data.size()
|
reinterpret_cast<const ubyte*>(data.data()), data.size()
|
||||||
);
|
);
|
||||||
pop(L);
|
|
||||||
return bytes;
|
return bytes;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user