From: Brian Norris Date: Tue, 16 Apr 2013 02:17:53 +0000 (-0700) Subject: execution: add 'const' X-Git-Url: http://plrg.eecs.uci.edu/git/?p=cdsspec-compiler.git;a=commitdiff_plain;h=7d4142d82bfa30baa4452430268a9a337eff3fbf execution: add 'const' --- diff --git a/execution.cc b/execution.cc index 0006c66..dc1b6c5 100644 --- a/execution.cc +++ b/execution.cc @@ -128,7 +128,8 @@ static SnapVector * get_safe_ptr_vect_action(HashTable *wrv=obj_thrd_map->get(obj); if (wrv==NULL) return NULL; diff --git a/execution.h b/execution.h index 9ae0b4f..6810fee 100644 --- a/execution.h +++ b/execution.h @@ -88,7 +88,7 @@ public: void check_promises_thread_disabled(); bool isfeasibleprefix() const; - action_list_t * get_actions_on_obj(void * obj, thread_id_t tid); + action_list_t * get_actions_on_obj(void * obj, thread_id_t tid) const; ModelAction * get_last_action(thread_id_t tid) const; bool check_action_enabled(ModelAction *curr);