Skip to content

Commit 9be84ea

Browse files
author
janmroczkowski
committed
Make automatont.output const
1 parent 567eaa7 commit 9be84ea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/goto-instrument/accelerate/trace_automaton.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ void trace_automatont::minimise()
473473
determinise();
474474
}
475475

476-
void automatont::output(std::ostream &str)
476+
void automatont::output(std::ostream &str) const
477477
{
478478
str << "Init: " << init_state << '\n';
479479

src/goto-instrument/accelerate/trace_automaton.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class automatont
5454

5555
std::size_t count_transitions();
5656

57-
void output(std::ostream &str);
57+
void output(std::ostream &str) const;
5858

5959
void clear()
6060
{

0 commit comments

Comments
 (0)