Get gdax to not crash
[c11tester.git] / history.h
index fff5712629057311811bebde6401a42f57bf56db..441a999f46f2ab6cb6e7f1f4124ae1e90b156e77 100644 (file)
--- a/history.h
+++ b/history.h
@@ -11,14 +11,14 @@ typedef ModelList<ModelAction *> action_mlist_t;
 class ModelHistory {
 public:
        ModelHistory();
-       
+
        void enter_function(const uint32_t func_id, thread_id_t tid);
        void exit_function(const uint32_t func_id, thread_id_t tid);
 
-        uint32_t get_func_counter() { return func_id; }
-        void incr_func_counter() { func_id++; }
+       uint32_t get_func_counter() { return func_id; }
+       void incr_func_counter() { func_id++; }
 
-        HashTable<const char *, uint32_t, uintptr_t, 4> * getFuncMap() { return &func_map; }
+       HashTable<const char *, uint32_t, uintptr_t, 4> * getFuncMap() { return &func_map; }
        HashTable<uint32_t, action_mlist_t *, uintptr_t, 4> * getFuncHistory() { return &func_history; }
 
        void print();
@@ -26,14 +26,14 @@ public:
 private:
        uint32_t func_id;
 
-        /* map function names to integer ids */ 
-        HashTable<const char *, uint32_t, uintptr_t, 4> func_map;
+       /* map function names to integer ids */
+       HashTable<const char *, uint32_t, uintptr_t, 4> func_map;
 
        HashTable<uint32_t, action_mlist_t *, uintptr_t, 4> func_history;
 
        /* work_list stores a list of function ids for each thread
         * SnapList<uint32_t> is intended to be used as a stack storing
-        * the functions that thread i has entered and yet to exit from 
+        * the functions that thread i has entered and yet to exit from
         */
        HashTable<thread_id_t, SnapList<uint32_t> *, uintptr_t, 4> work_list;
 };