[EEP] Change to using LLTranslationBridge::ptr_t
This commit is contained in:
@@ -29,17 +29,17 @@
|
||||
#include "llinventorytype.h"
|
||||
#include "llinventorydefines.h"
|
||||
|
||||
static LLTranslationBridge* sTrans = NULL;
|
||||
static LLTranslationBridge::ptr_t sTrans = NULL;
|
||||
|
||||
// static
|
||||
void LLWearableType::initClass(LLTranslationBridge* trans)
|
||||
void LLWearableType::initClass(LLTranslationBridge::ptr_t &trans)
|
||||
{
|
||||
sTrans = trans;
|
||||
}
|
||||
|
||||
void LLWearableType::cleanupClass()
|
||||
{
|
||||
delete sTrans;
|
||||
sTrans.reset();
|
||||
}
|
||||
|
||||
struct WearableEntry : public LLDictionaryEntry
|
||||
|
||||
Reference in New Issue
Block a user