model: make dumpGraph 'const'
[model-checker.git] / model.h
diff --git a/model.h b/model.h
index 76b2affb02db0a59d93c5efc8bde0973241af74d..8345678fab7f0724a2a4dd7f638470d84bb46483 100644 (file)
--- a/model.h
+++ b/model.h
@@ -101,7 +101,7 @@ public:
 
        void print_summary() const;
 #if SUPPORT_MOD_ORDER_DUMP
-       void dumpGraph(char *filename);
+       void dumpGraph(char *filename) const;
 #endif
 
        void add_thread(Thread *t);