diff options
author | Steven Bennetts <steve@lindenlab.com> | 2008-04-03 19:21:14 +0000 |
---|---|---|
committer | Steven Bennetts <steve@lindenlab.com> | 2008-04-03 19:21:14 +0000 |
commit | b5936a4b1d8780b5b8cd425998eacd2c64ffa693 (patch) | |
tree | c1581bcf34e96a897c6e1d9a4aed95f353713baa /indra/llinventory | |
parent | 55c25229b79b1755c989e5996c8e8d118f369721 (diff) |
1.19.1 Viewer merge: QAR_367, QAR-374, QAR-408, QAR-426
QAR_367 (RC1) - merge Branch_1-19-1-Viewer -r 81609 : 81993 -> release
QAR-374 (RC2) - merge Branch_1-19-1-Viewer -r 81993 : 82589 -> release
QAR-408 (RC3) - merge Branch_1-19-1-Viewer -r 82589 : 83128 -> release
QAR-426 (rc4) - merge Branch_1-19-1-Viewer -r 83125 : 83719 -> release
(Actual merge: release@83793 Branch_1-19-1-Viewer-merge@83953 -> release)
Diffstat (limited to 'indra/llinventory')
-rw-r--r-- | indra/llinventory/llinventory.cpp | 18 | ||||
-rw-r--r-- | indra/llinventory/llinventory.h | 8 |
2 files changed, 13 insertions, 13 deletions
diff --git a/indra/llinventory/llinventory.cpp b/indra/llinventory/llinventory.cpp index 45a927aa7d..686524b7da 100644 --- a/indra/llinventory/llinventory.cpp +++ b/indra/llinventory/llinventory.cpp @@ -99,7 +99,7 @@ LLInventoryObject::~LLInventoryObject( void ) { } -void LLInventoryObject::copy(const LLInventoryObject* other) +void LLInventoryObject::copyObject(const LLInventoryObject* other) { mUUID = other->mUUID; mParentUUID = other->mParentUUID; @@ -309,7 +309,7 @@ LLInventoryItem::LLInventoryItem() : LLInventoryItem::LLInventoryItem(const LLInventoryItem* other) : LLInventoryObject() { - copy(other); + copyItem(other); } LLInventoryItem::~LLInventoryItem() @@ -317,9 +317,9 @@ LLInventoryItem::~LLInventoryItem() } // virtual -void LLInventoryItem::copy(const LLInventoryItem* other) +void LLInventoryItem::copyItem(const LLInventoryItem* other) { - LLInventoryObject::copy(other); + copyObject(other); mPermissions = other->mPermissions; mAssetUUID = other->mAssetUUID; mDescription = other->mDescription; @@ -331,10 +331,10 @@ void LLInventoryItem::copy(const LLInventoryItem* other) // As a constructor alternative, the clone() method works like a // copy constructor, but gens a new UUID. -void LLInventoryItem::clone(LLPointer<LLInventoryItem>& newitem) const +void LLInventoryItem::cloneItem(LLPointer<LLInventoryItem>& newitem) const { newitem = new LLInventoryItem; - newitem->copy(this); + newitem->copyItem(this); newitem->mUUID.generate(); } @@ -1335,7 +1335,7 @@ LLInventoryCategory::LLInventoryCategory() : LLInventoryCategory::LLInventoryCategory(const LLInventoryCategory* other) : LLInventoryObject() { - copy(other); + copyCategory(other); } LLInventoryCategory::~LLInventoryCategory() @@ -1343,9 +1343,9 @@ LLInventoryCategory::~LLInventoryCategory() } // virtual -void LLInventoryCategory::copy(const LLInventoryCategory* other) +void LLInventoryCategory::copyCategory(const LLInventoryCategory* other) { - LLInventoryObject::copy(other); + copyObject(other); mPreferredType = other->mPreferredType; } diff --git a/indra/llinventory/llinventory.h b/indra/llinventory/llinventory.h index 60a0c4158b..8b579ec306 100644 --- a/indra/llinventory/llinventory.h +++ b/indra/llinventory/llinventory.h @@ -85,7 +85,7 @@ public: LLInventoryObject(const LLUUID& uuid, const LLUUID& parent_uuid, LLAssetType::EType type, const LLString& name); LLInventoryObject(); - virtual void copy(const LLInventoryObject* other); // LLRefCount requires custom copy + void copyObject(const LLInventoryObject* other); // LLRefCount requires custom copy // accessors const LLUUID& getUUID() const; @@ -222,12 +222,12 @@ public: // Note: Because InventoryItems are ref counted, reference copy (a = b) // is prohibited LLInventoryItem(const LLInventoryItem* other); - virtual void copy(const LLInventoryItem* other); // LLRefCount requires custom copy + virtual void copyItem(const LLInventoryItem* other); // LLRefCount requires custom copy // As a constructor alternative, the clone() method works like a // copy constructor, but gens a new UUID. // It is up to the caller to delete (unref) the item. - virtual void clone(LLPointer<LLInventoryItem>& newitem) const; + virtual void cloneItem(LLPointer<LLInventoryItem>& newitem) const; // accessors const LLPermissions& getPermissions() const; @@ -306,7 +306,7 @@ public: const LLString& name); LLInventoryCategory(); LLInventoryCategory(const LLInventoryCategory* other); - virtual void copy(const LLInventoryCategory* other); // LLRefCount requires custom copy + void copyCategory(const LLInventoryCategory* other); // LLRefCount requires custom copy // accessors and mutators LLAssetType::EType getPreferredType() const; |