summaryrefslogtreecommitdiff
path: root/io/model.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--io/model.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/io/model.cpp b/io/model.cpp
index d6e36f9..4b37be4 100644
--- a/io/model.cpp
+++ b/io/model.cpp
@@ -6,7 +6,7 @@
6#include "io/model.h" 6#include "io/model.h"
7#include "isa/isa.h" 7#include "isa/isa.h"
8 8
9bool iomodel::interact(std::array<unsigned int, NUM_CTLREGS> &ctlregs) { 9bool iomodel::interact(std::array<std::uint_fast32_t, NUM_CTLREGS> &ctlregs) {
10 auto [ebegin, eend] = log.equal_range(time); 10 auto [ebegin, eend] = log.equal_range(time);
11 for (auto e = ebegin; e != eend; ++e) { 11 for (auto e = ebegin; e != eend; ++e) {
12 auto &r = ctlregs[e->second.reg]; 12 auto &r = ctlregs[e->second.reg];