diff --git a/assignment-client/src/octree/OctreeServer.cpp b/assignment-client/src/octree/OctreeServer.cpp index ff155b89c0..db97da751f 100644 --- a/assignment-client/src/octree/OctreeServer.cpp +++ b/assignment-client/src/octree/OctreeServer.cpp @@ -935,7 +935,7 @@ void OctreeServer::handleOctreeFileReplacement(QSharedPointer m // so here we just store a special file at our persist path // and then force a stop of the server so that it can pick it up when it relaunches if (!_persistAbsoluteFilePath.isEmpty()) { - OctreeServer::replaceContentFromMessageData(message->getMessage()); + replaceContentFromMessageData(message->getMessage()); } else { qDebug() << "Cannot perform octree file replacement since current persist file path is not yet known"; } @@ -963,7 +963,7 @@ void OctreeServer::handleOctreeFileReplacementFromURL(QSharedPointererror(); if (networkError == QNetworkReply::NoError) { QByteArray contents = reply->readAll(); - OctreeServer::replaceContentFromMessageData(contents); + replaceContentFromMessageData(contents); } else { qDebug() << "Error downloading JSON from specified file"; }