fix bug of `-o` not working.

This commit is contained in:
ValKmjolnir 2022-02-23 21:56:45 +08:00
parent 6bc03601d9
commit 243aafd417
1 changed files with 1 additions and 1 deletions

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(),