model: rename PendingFutureValue 'act' to 'reader'
[model-checker.git] / model.cc
index 780633e3e6a0d4ec0f0778c09cf3403c130175e8..f0763cbfca28971b9dfd36a0fe5e76dcae41f8aa 100644 (file)
--- a/model.cc
+++ b/model.cc
@@ -1104,7 +1104,7 @@ bool ModelChecker::process_write(ModelAction *curr)
        if (promises->empty()) {
                for (unsigned int i = 0; i < futurevalues->size(); i++) {
                        struct PendingFutureValue pfv = (*futurevalues)[i];
-                       add_future_value(pfv.writer, pfv.act);
+                       add_future_value(pfv.writer, pfv.reader);
                }
                futurevalues->clear();
        }