• Alexandre Duret-Lutz's avatar
    Check trivial multop equality at build time. The makes the · 1cdfea31
    Alexandre Duret-Lutz authored
    equal visitor useless, since two equals formulae will now
    share the same address.
    
    * src/ltlast/multop.hh (add_sorted): New function.
    (paircmp): New comparison functor.
    (map): Use paircmp, we want to compare the vectors' contents,
    not their addresses.
    * src/ltlast/multop.cc (add_sorted): New function.
    (add): Use it.
    * src/ltltest/equals.cc, src/ltltest/tostring.cc: Compare
    pointers instead of calling equal.
    * src/ltlvisit/equals.cc, src/ltlvisit/equals.hh: Delete.
    * src/ltlvisit/Makefile.am (libltlvisit_la_SOURCES): Remove
    equals.cc and equals.hh.
    * wrap/spot.i: Do not include equals.hh.
    1cdfea31
To find the state of this project's repository at the time of any of these versions, check out the tags..
ChangeLog 13.3 KB