aboutsummaryrefslogtreecommitdiff
path: root/zenserver/upstream/upstreamapply.cpp
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-11-17 08:30:40 +0100
committerMartin Ridgers <[email protected]>2021-11-17 08:30:40 +0100
commit5e6b243d7fee946cc8126e54ffaee050fce7433d (patch)
tree4a953b941e794c9fe978987696a1acf50fed5858 /zenserver/upstream/upstreamapply.cpp
parentHooked up zenserver:main() to ZenEntryPoint::Run() on POSIX (diff)
parentFormat fix. (diff)
downloadzen-5e6b243d7fee946cc8126e54ffaee050fce7433d.tar.xz
zen-5e6b243d7fee946cc8126e54ffaee050fce7433d.zip
Merged main
Diffstat (limited to 'zenserver/upstream/upstreamapply.cpp')
-rw-r--r--zenserver/upstream/upstreamapply.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/zenserver/upstream/upstreamapply.cpp b/zenserver/upstream/upstreamapply.cpp
index f32b08959..a0c6a91cf 100644
--- a/zenserver/upstream/upstreamapply.cpp
+++ b/zenserver/upstream/upstreamapply.cpp
@@ -800,13 +800,13 @@ namespace detail {
{
using namespace fmt::literals;
- std::string_view HostPlatform = ApplyRecord.WorkerDescriptor["host"sv].AsString();
+ std::string_view HostPlatform = ApplyRecord.WorkerDescriptor["host"sv].AsString();
// TODO: Enable when Horde accepts the UE style Host Platforms (Win64, Linux, Mac)
- //CbObject Requirements = BuildRequirements("OSFamily == '{}'"_format(HostPlatform), {}, false);
- CbObject Requirements = BuildRequirements("OSFamily == 'Windows'", {}, false);
- const IoHash RequirementsId = Requirements.GetHash();
- Data.Objects[RequirementsId] = std::move(Requirements);
- Data.RequirementsId = RequirementsId;
+ // CbObject Requirements = BuildRequirements("OSFamily == '{}'"_format(HostPlatform), {}, false);
+ CbObject Requirements = BuildRequirements("OSFamily == 'Windows'", {}, false);
+ const IoHash RequirementsId = Requirements.GetHash();
+ Data.Objects[RequirementsId] = std::move(Requirements);
+ Data.RequirementsId = RequirementsId;
}
CbObject Task = BuildTask(ExecutablePath,