message: Adds a copy assignment operator to slam's ModularInt
  Relealed by cppcheck.
diff: @@ -39,14 +39,14 @@ namespace slam
  /**
  - * \class
  - * This class is a wrapper around an int and encapsulates
  + * \class ModularInt
  + * \brief This class is a wrapper around an int and encapsulates
  * modular arithmetic with a given modulus.
  *
  * It can be useful when we are iterating circularly through the elements
  * in a relation (e.g. consecutive edges around a polygon).
  - * The class invariant is that 0 <= val < modulus(), where val is the wrapped
  - * integer.
  + * The class invariant is that 0 <= val < modulus(),
  + * where val is the wrapped integer.
  * The modulus is controlled by a SizePolicy which allows it to be given at
  * compile time or at runtime.
  */
  @@ -72,6 +72,15 @@ public:
  verifyValue();
  }
  + ModularInt& operator=(const ModularInt& mi)
  + {
  + if(&mi != this)
  + {
  + m_val = mi.m_val;
  + verifyValue();
  + }
  + return *this;
  + }
  /**
  * Implicit cast of a ModularInt to an int
  