• Robert Ricci's avatar
    Fix a bug in the reorderLinks() function · 469be374
    Robert Ricci authored
    Because it's operating on char*s, the STL list remove() function
    doesn't work; it needs to do a strcmp, not a simple comparison. So, hand-write
    the loop to do this.
    
    Also add a santity check to produce a fatal error rather than allowing this
    function to go into an infinite loop.
    469be374
annotate_rspec_v2.cc 27.1 KB