fix bug of -o not working.

This commit is contained in:
ValKmjolnir
2022-02-23 21:56:45 +08:00
parent 4be9c8b5c1
commit 97663ae5bf
+1 -1
View File
@@ -282,7 +282,7 @@ void nasal_vm::opcallsort(const uint64_t* arr)
{
typedef std::pair<uint32_t,uint64_t> op;
std::vector<op> opcall;
for(uint32_t i=0;i<=op_exit;++i)
for(uint32_t i=0;i<=op_ret;++i)
opcall.push_back({i,arr[i]});
std::sort(
opcall.begin(),