mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-07 21:01:37 +00:00
Core/Misc: update g3dlite lib (#2904)
* Core/Misc: update g3dlite lib * update Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
This commit is contained in:
6
deps/g3dlite/source/MemoryManager.cpp
vendored
6
deps/g3dlite/source/MemoryManager.cpp
vendored
@@ -33,7 +33,7 @@ bool MemoryManager::isThreadsafe() const {
|
||||
|
||||
|
||||
MemoryManager::Ref MemoryManager::create() {
|
||||
static MemoryManager::Ref m = new MemoryManager();
|
||||
static MemoryManager::Ref m(new MemoryManager());
|
||||
return m;
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ bool AlignedMemoryManager::isThreadsafe() const {
|
||||
|
||||
|
||||
AlignedMemoryManager::Ref AlignedMemoryManager::create() {
|
||||
static AlignedMemoryManager::Ref m = new AlignedMemoryManager();
|
||||
static AlignedMemoryManager::Ref m(new AlignedMemoryManager());
|
||||
return m;
|
||||
}
|
||||
|
||||
@@ -85,7 +85,7 @@ bool CRTMemoryManager::isThreadsafe() const {
|
||||
|
||||
|
||||
CRTMemoryManager::Ref CRTMemoryManager::create() {
|
||||
static CRTMemoryManager::Ref m = new CRTMemoryManager();
|
||||
static CRTMemoryManager::Ref m(new CRTMemoryManager());
|
||||
return m;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user