un-'const' some Promises
[model-checker.git] / action.cc
index 2390ecc7bd39f115380172075d14cd9e1c56cbe8..130902491a97f794f13e98b917bb84522e8b0f64 100644 (file)
--- a/action.cc
+++ b/action.cc
@@ -402,7 +402,7 @@ void ModelAction::set_read_from(const ModelAction *act)
  * Set this action's read-from promise
  * @param promise The promise to read from
  */
-void ModelAction::set_read_from_promise(const Promise *promise)
+void ModelAction::set_read_from_promise(Promise *promise)
 {
        ASSERT(is_read());
        reads_from_promise = promise;