0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-10 05:58:56 +02:00

modules/console: Reverse order of vm list.

This commit is contained in:
Jason Volk 2020-05-12 04:28:31 -07:00
parent bdcf62cbc0
commit a3b31ce7aa

View file

@ -14921,11 +14921,15 @@ console_cmd__vm(opt &out, const string_view &line)
<< std::left << std::setw(20) << "STATE_KEY" << " "
<< std::endl;
for(const auto *const &eval : m::vm::eval::list)
for(auto rit(rbegin(m::vm::eval::list)); rit != rend(m::vm::eval::list); ++rit)
{
const auto *const &eval
{
*rit
};
assert(eval);
assert(eval->ctx);
const auto done
{
!eval->pdus.empty() && eval->event_?