Skip to content

Commit 864bfba

Browse files
committed
Made flip count const
1 parent 399762c commit 864bfba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/cone_metric.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public:
186186
/// Determine how many flips have been performed since the metric was initialized
187187
///
188188
/// @return number of flips
189-
int num_flips() { return m_flip_seq.size(); };
189+
int num_flips() const { return m_flip_seq.size(); };
190190

191191
/// Get the full sequence of flips that have been performed since the metric was initialized
192192
///

0 commit comments

Comments
 (0)