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:
@@ -2307,7 +2307,23 @@ BString::_AssertNotUsingAsCString() const
|
|||||||
#endif
|
#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
|
int
|
||||||
Compare(const BString &string1, const BString &string2)
|
Compare(const BString &string1, const BString &string2)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user