Added non-const form of BString::operator<<(BString&) for backwards compatibility

(see bug #418).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17851 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-06-15 21:17:05 +00:00
parent 42b505fba3
commit d274c6a597

View File

@ -2307,7 +2307,23 @@ BString::_AssertNotUsingAsCString() const
#endif
/*----- Non-member compare for sorting, etc. ------------------------------*/
// #pragma mark - backwards compatibility
/*!
Translates to (missing const):
BString& BString::operator<<(BString& string)
*/
extern "C" BString&
__ls__7BStringR7BString(BString* self, BString& string)
{
return self->operator<<(string);
}
// #pragma mark - Non-member compare for sorting, etc.
int
Compare(const BString &string1, const BString &string2)
{