Fix merge error in llplugin.
parent
55567f9de2
commit
87d479e723
|
|
@ -1004,7 +1004,7 @@ std::string LLPluginProcessParent::addSharedMemory(size_t size)
|
|||
|
||||
// <FS:ND> Use smartptr
|
||||
LLPluginSharedMemory *region = new LLPluginSharedMemory;
|
||||
//LLPluginSharedMemory region( new LLPluginSharedMemory );
|
||||
//LLPluginSharedMemoryPtr region( new LLPluginSharedMemory );
|
||||
// </FS:ND>
|
||||
|
||||
// This is a new region
|
||||
|
|
|
|||
|
|
@ -162,7 +162,7 @@ private:
|
|||
|
||||
// <FS:ND> Use boost::shred_ptr so LLPluginSharedMemory gets properly destroyed
|
||||
// typedef std::map<std::string, LLPluginSharedMemory*> sharedMemoryRegionsType;
|
||||
typedef std::map<std::string, LLPluginSharedMemory > sharedMemoryRegionsType;
|
||||
typedef std::map<std::string, LLPluginSharedMemoryPtr > sharedMemoryRegionsType;
|
||||
// </FS:ND>
|
||||
|
||||
sharedMemoryRegionsType mSharedMemoryRegions;
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ private:
|
|||
|
||||
};
|
||||
|
||||
//typedef boost::shared_ptr< LLPluginSharedMemory > LLPluginSharedMemoryPtr;
|
||||
typedef boost::shared_ptr< LLPluginSharedMemory > LLPluginSharedMemoryPtr;
|
||||
|
||||
|
||||
#endif // LL_LLPLUGINSHAREDMEMORY_H
|
||||
|
|
|
|||
Loading…
Reference in New Issue