From 4f27522175ce2be03cf7ef4673fcc57e29d88554 Mon Sep 17 00:00:00 2001 From: pavelkproductengine Date: Thu, 31 Mar 2016 19:13:31 +0300 Subject: Fixed build on Mac --- indra/newview/lloutfitgallery.cpp | 2 +- indra/newview/lloutfitgallery.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'indra/newview') 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 cb = new LLUpdateGalleryOnPhotoLinked(this); + LLPointer 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 -- cgit v1.2.3