aboutsummaryrefslogtreecommitdiff
path: root/zenserver
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-06 19:06:23 +0200
committerStefan Boberg <[email protected]>2021-09-06 19:06:23 +0200
commit2d1144d21a1c606434a025724e85c23824f0ca35 (patch)
tree570fc126c2084ac4a3b1dee61565f487ae6b3063 /zenserver
parentMerge branch 'main' of https://github.com/EpicGames/zen (diff)
downloadzen-2d1144d21a1c606434a025724e85c23824f0ca35.tar.xz
zen-2d1144d21a1c606434a025724e85c23824f0ca35.zip
clang-format fixes
Diffstat (limited to 'zenserver')
-rw-r--r--zenserver/config.cpp2
-rw-r--r--zenserver/upstream/upstreamcache.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/zenserver/config.cpp b/zenserver/config.cpp
index 06b355b7a..c356b9f0b 100644
--- a/zenserver/config.cpp
+++ b/zenserver/config.cpp
@@ -235,7 +235,7 @@ ParseServiceConfig(const std::filesystem::path& DataRoot, ZenServiceConfig& Serv
throw std::exception("fatal zen global config script ({}) failure: {}"_format(ConfigScript, e.what()).c_str());
}
- ServiceConfig.MeshEnabled = lua["mesh"]["enable"].get_or(ServiceConfig.MeshEnabled);
+ ServiceConfig.MeshEnabled = lua["mesh"]["enable"].get_or(ServiceConfig.MeshEnabled);
auto UpdateStringValueFromConfig = [](const sol::table& Table, std::string_view Key, std::string& OutValue) {
// Update the specified config value unless it has been set, i.e. from command line
diff --git a/zenserver/upstream/upstreamcache.cpp b/zenserver/upstream/upstreamcache.cpp
index 40d7ebd26..6c9baf9b0 100644
--- a/zenserver/upstream/upstreamcache.cpp
+++ b/zenserver/upstream/upstreamcache.cpp
@@ -100,7 +100,7 @@ namespace detail {
virtual bool Initialize() override
{
- //TODO: Test and authenticate Jupiter client connection
+ // TODO: Test and authenticate Jupiter client connection
return !m_Client->ServiceUrl().empty();
}
@@ -216,8 +216,8 @@ namespace detail {
~ZenUpstreamEndpoint() = default;
virtual bool Initialize() override
- {
- //TODO: Test and authenticate Zen client connection
+ {
+ // TODO: Test and authenticate Zen client connection
return !m_Client->ServiceUrl().empty();
}