dascandy / hippomocks

GNU Lesser General Public License v2.1
196 stars 67 forks source link

Revert "Add const ref returned value support" #32

Closed mathiasl closed 9 years ago

mathiasl commented 9 years ago

This reverts commit 51f721950b9eb1ce41512e8ae199ab262b432d6e.

If you launch tests with valgrind you get errors! This is due to test such as: OnCall(xxx).Return("foo"); where "foo" is no longer copied and a bad reference is kept on it!