scanalysis: allocate structures as true members of class (not pointers)
[model-checker.git] / scanalysis.h
index 7e300e0c1e71451905a2dee56f99a3e1e3605681..e8afc18949aaa1b25b931bcfd46f42a5225fde72 100644 (file)
@@ -18,11 +18,12 @@ class SCAnalysis : public TraceAnalysis {
        action_list_t * generateSC(action_list_t *);
        bool processRead(ModelAction *read, ClockVector *cv);
        ModelAction * getNextAction();
-       bool merge(ClockVector * cv, const ModelAction * act, ClockVector *cv2);
+       bool merge(ClockVector *cv, const ModelAction *act, ClockVector *cv2);
+
        int maxthreads;
-       HashTable<const ModelAction *,ClockVector *, uintptr_t, 4 > * cvmap;
-       HashTable<const ModelAction *,const ModelAction *, uintptr_t, 4 > * cycleset;
-       SnapVector<action_list_t> threadlists;
+       HashTable<const ModelAction *, ClockVector *, uintptr_t, 4 > cvmap;
+       HashTable<const ModelAction *, const ModelAction *, uintptr_t, 4 > cycleset;
+       SnapVector<action_list_t> threadlists;
        const ModelExecution *execution;
 };
 #endif