diff options
| author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2012-12-10 14:47:17 -0500 |
|---|---|---|
| committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2012-12-10 14:47:17 -0500 |
| commit | 0777f53e2f2d773fa536b3c62e16455ce7bbbcce (patch) | |
| tree | 2050b2eb704687a839dfa42a0cd6b62c16e8cae8 /indra/newview/llfriendcard.cpp | |
| parent | 542a9e0a410cc760f871082bf92cbea06c5a03ad (diff) | |
SH-3606 WIP - replaced several LLInventoryCallback subclasses with boost::func equivalents
Diffstat (limited to 'indra/newview/llfriendcard.cpp')
| -rw-r--r-- | indra/newview/llfriendcard.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfriendcard.cpp b/indra/newview/llfriendcard.cpp index 11401d6c68..609a16fde0 100644 --- a/indra/newview/llfriendcard.cpp +++ b/indra/newview/llfriendcard.cpp @@ -521,7 +521,7 @@ public: void fire(const LLUUID& inv_item_id) { LLViewerInventoryItem* item = gInventory.getItem(inv_item_id); - + if (item) LLFriendCardsManager::instance().extractAvatarID(item->getCreatorUUID()); } @@ -557,7 +557,7 @@ void LLFriendCardsManager::addFriendCardToInventory(const LLUUID& avatarID) lldebugs << "Sent create_inventory_item for " << avatarID << ", " << name << llendl; // TODO: mantipov: Is CreateFriendCardCallback really needed? Probably not - LLPointer<LLInventoryCallback> cb = new CreateFriendCardCallback(); + LLPointer<LLInventoryCallback> cb = new CreateFriendCardCallback; create_inventory_callingcard(avatarID, findFriendAllSubfolderUUIDImpl(), cb); } |
