diff --git a/indra/llplugin/llpluginprocessparent.cpp b/indra/llplugin/llpluginprocessparent.cpp index aad505c0ba..198613dd05 100755 --- a/indra/llplugin/llpluginprocessparent.cpp +++ b/indra/llplugin/llpluginprocessparent.cpp @@ -1004,7 +1004,7 @@ std::string LLPluginProcessParent::addSharedMemory(size_t size) // Use smartptr LLPluginSharedMemory *region = new LLPluginSharedMemory; - //LLPluginSharedMemory region( new LLPluginSharedMemory ); + //LLPluginSharedMemoryPtr region( new LLPluginSharedMemory ); // // This is a new region diff --git a/indra/llplugin/llpluginprocessparent.h b/indra/llplugin/llpluginprocessparent.h index 7baffa5f76..4be4843f39 100755 --- a/indra/llplugin/llpluginprocessparent.h +++ b/indra/llplugin/llpluginprocessparent.h @@ -162,7 +162,7 @@ private: // Use boost::shred_ptr so LLPluginSharedMemory gets properly destroyed // typedef std::map sharedMemoryRegionsType; - typedef std::map sharedMemoryRegionsType; + typedef std::map sharedMemoryRegionsType; // sharedMemoryRegionsType mSharedMemoryRegions; diff --git a/indra/llplugin/llpluginsharedmemory.h b/indra/llplugin/llpluginsharedmemory.h index 42f041b7b6..231d83c156 100755 --- a/indra/llplugin/llpluginsharedmemory.h +++ b/indra/llplugin/llpluginsharedmemory.h @@ -120,7 +120,7 @@ private: }; -//typedef boost::shared_ptr< LLPluginSharedMemory > LLPluginSharedMemoryPtr; +typedef boost::shared_ptr< LLPluginSharedMemory > LLPluginSharedMemoryPtr; #endif // LL_LLPLUGINSHAREDMEMORY_H