Clean up merge about name cache callback prototype
parent
31a0d236d5
commit
e2deaf5a14
|
|
@ -1488,9 +1488,11 @@ std::ostream& operator<<(std::ostream& s, const LLNotification& notification)
|
|||
return s;
|
||||
}
|
||||
|
||||
void LLPostponedNotification::onCachedNameReceived(const LLUUID& id, const std::string& first,
|
||||
const std::string& last, bool is_group)
|
||||
void LLPostponedNotification::onCachedNameReceived(const LLUUID& id,
|
||||
const std::string& full_name,
|
||||
bool is_group)
|
||||
{
|
||||
// *TODO: This is dumb, just use full_name as given
|
||||
gCacheName->getFullName(id, mName);
|
||||
modifyNotificationParams();
|
||||
LLNotifications::instance().add(mParams);
|
||||
|
|
|
|||
|
|
@ -1005,12 +1005,11 @@ public:
|
|||
|
||||
gCacheName->get(id, is_group, boost::bind(
|
||||
&LLPostponedNotification::onCachedNameReceived, thiz, _1, _2,
|
||||
_3, _4));
|
||||
_3));
|
||||
}
|
||||
|
||||
private:
|
||||
void onCachedNameReceived(const LLUUID& id, const std::string& first,
|
||||
const std::string& last, bool is_group);
|
||||
void onCachedNameReceived(const LLUUID& id, const std::string& full_name, bool is_group);
|
||||
|
||||
void cleanup()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue