[EEP] Change to using LLTranslationBridge::ptr_t

This commit is contained in:
Lirusaito
2019-03-24 22:46:32 -04:00
parent 28c814e4ef
commit 28de2ceed8
3 changed files with 6 additions and 5 deletions

View File

@@ -640,7 +640,8 @@ bool LLAppViewer::init()
// initialize LLWearableType translation bridge.
// Memory will be cleaned up in ::cleanupClass()
LLWearableType::initClass(new LLUITranslationBridge());
LLTranslationBridge::ptr_t trans = std::make_shared<LLUITranslationBridge>();
LLWearableType::initClass(trans);
// <edit>
// We can call this early.