mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-22 02:48:25 -05:00
First commit
This commit is contained in:
@@ -85,7 +85,7 @@ Connection::Connection(std::unique_ptr<ghoul::io::Socket> s,
|
||||
AuthenticationTopicKey,
|
||||
[password](bool, const ghoul::Dictionary&, ghoul::MemoryPoolBase* pool) {
|
||||
if (pool) {
|
||||
void* ptr = pool->alloc(sizeof(AuthorizationTopic));
|
||||
void* ptr = pool->allocate(sizeof(AuthorizationTopic));
|
||||
return new (ptr) AuthorizationTopic(password);
|
||||
}
|
||||
else {
|
||||
|
||||
@@ -80,7 +80,7 @@ void SyncModule::internalInitialize(const ghoul::Dictionary& configuration) {
|
||||
"HttpSynchronization",
|
||||
[this](bool, const ghoul::Dictionary& dictionary, ghoul::MemoryPoolBase* pool) {
|
||||
if (pool) {
|
||||
void* ptr = pool->alloc(sizeof(HttpSynchronization));
|
||||
void* ptr = pool->allocate(sizeof(HttpSynchronization));
|
||||
return new (ptr) HttpSynchronization(
|
||||
dictionary,
|
||||
_synchronizationRoot,
|
||||
@@ -101,7 +101,7 @@ void SyncModule::internalInitialize(const ghoul::Dictionary& configuration) {
|
||||
"UrlSynchronization",
|
||||
[this](bool, const ghoul::Dictionary& dictionary, ghoul::MemoryPoolBase* pool) {
|
||||
if (pool) {
|
||||
void* ptr = pool->alloc(sizeof(UrlSynchronization));
|
||||
void* ptr = pool->allocate(sizeof(UrlSynchronization));
|
||||
return new (ptr) UrlSynchronization(
|
||||
dictionary,
|
||||
_synchronizationRoot
|
||||
|
||||
Reference in New Issue
Block a user