mirror of https://github.com/CGAL/cgal
Fix an error with -D_GLIBCXX_DEBUG -D_GLIBCPP_CONCEPT_CHECKS
The following (commented) line triggered the error:
direct_func[rit->second] = rit;
The new following line fixes the bug. Actually, it is even more
efficient.
direct_func.insert(std::make_pair(rit->second, rit));
This commit is contained in:
parent
5e08db9c45
commit
eb080638fc
|
|
@ -113,7 +113,12 @@ public :
|
|||
rit != reverse_func.end();
|
||||
++rit)
|
||||
{
|
||||
direct_func[rit->second] = rit;
|
||||
// Fix an error with -D_GLIBCXX_DEBUG -D_GLIBCPP_CONCEPT_CHECKS
|
||||
// The following (commented) line triggered the error:
|
||||
// direct_func[rit->second] = rit;
|
||||
// The new following line fixes the bug. Actually, it is even more
|
||||
// efficient.
|
||||
direct_func.insert(std::make_pair(rit->second, rit));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue