clockvector: add 'const', fix comments in ClockVector::merge()
[model-checker.git] / clockvector.cc
index cfd99c66177568a642947c2959d87582010282c8..88ea6fdfcf7cc73a8b99239e9128180883ca55bb 100644 (file)
@@ -34,11 +34,11 @@ ClockVector::~ClockVector()
 }
 
 /**
- * Merge a clock vector into this vector, using a pairwise vector. The
+ * Merge a clock vector into this vector, using a pairwise comparison. The
  * resulting vector length will be the maximum length of the two being merged.
  * @param cv is the ClockVector being merged into this vector.
  */
-void ClockVector::merge(ClockVector *cv)
+void ClockVector::merge(const ClockVector *cv)
 {
        modelclock_t *clk = clock;
        bool resize = false;