summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorpavelkproductengine <pavelkproductengine@lindenlab.com>2016-03-31 19:13:31 +0300
committerpavelkproductengine <pavelkproductengine@lindenlab.com>2016-03-31 19:13:31 +0300
commit4f27522175ce2be03cf7ef4673fcc57e29d88554 (patch)
tree327fe1567fe0f86a1c745ae03b2a05c792155b4b /indra/newview
parent30569854448e52e085366390a078054e1aa53ed9 (diff)
Fixed build on Mac
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/lloutfitgallery.cpp2
-rw-r--r--indra/newview/lloutfitgallery.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/indra/newview/lloutfitgallery.cpp b/indra/newview/lloutfitgallery.cpp
index 8af05173e6..5bab133080 100644
--- a/indra/newview/lloutfitgallery.cpp
+++ b/indra/newview/lloutfitgallery.cpp
@@ -732,7 +732,7 @@ void LLOutfitGallery::uploadPhoto(LLUUID outfit_id)
void LLOutfitGallery::linkPhotoToOutfit(LLUUID photo_id, LLUUID outfit_id)
{
- LLPointer<LLInventoryCallback> cb = new LLUpdateGalleryOnPhotoLinked(this);
+ LLPointer<LLInventoryCallback> cb = new LLUpdateGalleryOnPhotoLinked();
link_inventory_object(outfit_id, photo_id, cb);
}
diff --git a/indra/newview/lloutfitgallery.h b/indra/newview/lloutfitgallery.h
index ce3964ca1d..e9b0fecae7 100644
--- a/indra/newview/lloutfitgallery.h
+++ b/indra/newview/lloutfitgallery.h
@@ -46,11 +46,10 @@ class LLOutfitGalleryGearMenu;
class LLUpdateGalleryOnPhotoLinked : public LLInventoryCallback
{
public:
- LLUpdateGalleryOnPhotoLinked(LLOutfitGallery* gallery) : mGallery(gallery) {}
+ LLUpdateGalleryOnPhotoLinked(){}
virtual ~LLUpdateGalleryOnPhotoLinked(){}
/* virtual */ void fire(const LLUUID& inv_item_id);
private:
- LLOutfitGallery* mGallery;
};
class LLOutfitGallery : public LLOutfitListBase