action: make synchronize_with() public
[model-checker.git] / action.h
index ffe60dc5e8e9a33e18a59123c77d6a6fa09f505b..a87e1f2343ad82eb1428bdf696e5766e6d05886c 100644 (file)
--- a/action.h
+++ b/action.h
@@ -81,6 +81,7 @@ public:
        void create_cv(const ModelAction *parent = NULL);
        ClockVector * get_cv() const { return cv; }
        void read_from(const ModelAction *act);
+       void synchronize_with(const ModelAction *act);
 
        bool happens_before(const ModelAction *act) const;
 
@@ -96,7 +97,6 @@ public:
 
        MEMALLOC
 private:
-       void synchronize_with(const ModelAction *act);
 
        /** Type of action (read, write, thread create, thread yield, thread join) */
        action_type type;