You attempted to return a reference to a temporary object in a function that returns a reference type. This may be the result of a constructor or a function call.
This object will disappear when the function returns, making the reference illegal.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|