model: add PendingFutureValue constructor
[model-checker.git] / model.h
diff --git a/model.h b/model.h
index c97cbf1a05f905fb79087c21b91401548b5ecf2e..414cf9337c4ba638198688a8586e4eb6681fb953 100644 (file)
--- a/model.h
+++ b/model.h
@@ -67,7 +67,8 @@ struct execution_stats {
 };
 
 struct PendingFutureValue {
-       ModelAction *writer;
+       PendingFutureValue(ModelAction *writer, ModelAction *act) : writer(writer), act(act) { }
+       const ModelAction *writer;
        ModelAction *act;
 };