warning in Values-inl.h

Issue #258 resolved
Frank Dellaert created an issue

Since some time I get

/Users/frank/git/gtsam/gtsam/nonlinear/Values.cpp:64:17: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid'
      [-Wpotentially-evaluated-expression]
      if(typeid(it1->value) != typeid(it2->value))

Any idea on how to solve? @mikebosse you guys were the last to touch this :-)

Comments (1)

  1. Log in to comment