Searched hist:7810 (Results 1 - 1 of 1) sorted by relevance

/gem5/src/base/
H A Drefcnt.hh7810:3a790012d6ed Mon Jan 03 15:31:00 EST 2011 Gabe Black <gblack@eecs.umich.edu> RefCount: Fix reference counting pointer == and != with a T* on the left.

These operators were expecting a const T& instead of a const T*, and were not
being picked up and used by gcc in the right places as a result. Apparently no
one used these operators before. A unit test which exposed these problems,
verified the solution, and checks other basic functionality is on the way.

Completed in 8 milliseconds