laurent.cc: don't use const vectors as map keys
commitaec6dba30be81d5a422bcebfe88d9a1ba8e53051
authorSven Verdoolaege <verdoolaege@gamma.math.uni-magdeburg.de>
Sun, 24 Aug 2008 11:04:13 +0000 (24 13:04 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Thu, 28 Aug 2008 10:08:33 +0000 (28 12:08 +0200)
tree9a28d5c1d6172488fda5b5f768c0e43a6313956a
parent21c5b70f609fb7dbacc147537782946af8bd95cf
laurent.cc: don't use const vectors as map keys

Apparently, Sun's compiler has a problem with those:

"/solapplic/sun-studio-11/SUNWspro/prod/include/CC/Cstd/./map", line 251: Error: Multiple declaration for std::map<const std::vector<int>, const _new__evalue*, std::less<const std::vector<int>>, std::allocator<std::pair<const std::vector<int>, const _new__evalue*>>>::insert(const std::pair<const std::vector<int>, const _new__evalue*>&).
"../../git/barvinok/laurent.cc", line 225:     Where: While specializing "std::map<const std::vector<int>, const _new__evalue*, std::less<const std::vector<int>>, std::allocator<std::pair<const std::vector<int>, const _new__evalue*>>>".
"../../git/barvinok/laurent.cc", line 225:     Where: Specialized in non-template code.
laurent.cc