aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-03-17 19:37:10 +0100
committerDan Engelbrecht <[email protected]>2022-03-17 19:42:37 +0100
commitd4efa2df30437226903a4e4a9a83fd9b3da3117c (patch)
tree19ec512bb78f14195d5c114513fe85e56d21380a
parentUpdate horde compute to use Jupiter for storage (#60) (diff)
downloadzen-d4efa2df30437226903a4e4a9a83fd9b3da3117c.tar.xz
zen-d4efa2df30437226903a4e4a9a83fd9b3da3117c.zip
Fix so ZenServer compiles when ZEN_WITH_COMPUTE_SERVICES is disabled
-rw-r--r--zenserver/zenserver.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/zenserver/zenserver.cpp b/zenserver/zenserver.cpp
index 0d9126334..bed60a82a 100644
--- a/zenserver/zenserver.cpp
+++ b/zenserver/zenserver.cpp
@@ -365,7 +365,9 @@ public:
void InitializeState(const ZenServerOptions& ServerOptions);
void InitializeStructuredCache(const ZenServerOptions& ServerOptions);
+#if ZEN_WITH_COMPUTE_SERVICES
void InitializeCompute(const ZenServerOptions& ServerOptions);
+#endif
#if ZEN_ENABLE_MESH
void StartMesh(int BasePort)
@@ -827,6 +829,7 @@ ZenServer::InitializeStructuredCache(const ZenServerOptions& ServerOptions)
m_Http->RegisterService(*m_UpstreamService);
}
+#if ZEN_WITH_COMPUTE_SERVICES
void
ZenServer::InitializeCompute(const ZenServerOptions& ServerOptions)
{
@@ -877,6 +880,7 @@ ZenServer::InitializeCompute(const ZenServerOptions& ServerOptions)
*m_AuthMgr);
}
}
+#endif
////////////////////////////////////////////////////////////////////////////////