model: print_summary() should be const
[c11tester.git] / model.cc
index 199a8fc3505f7273a8cab4dedcbb64db693d96cf..691cd72bbbbd5275473ddf0993f70138256a0f0b 100644 (file)
--- a/model.cc
+++ b/model.cc
@@ -2287,7 +2287,8 @@ void ModelChecker::dumpGraph(char *filename) {
 }
 #endif
 
-void ModelChecker::print_summary()
+/** @brief Prints an execution trace summary. */
+void ModelChecker::print_summary() const
 {
 #if SUPPORT_MOD_ORDER_DUMP
        scheduler->print();