build: Remove dependency on boost-asio and boost-functional

This commit is contained in:
Exzap committed 2026-11-12 15:04:15 +01:00
1 parent 6fffb09b2a
commit 0bae1136ee
3 files changed
+6 -13

No files matched your search

@@ -1,14 +1,6 @@
#pragma once
#include "Common/precompiled.h"
#include <string>
#include <queue>
#include <stack>
#include <unordered_map>
#include <memory>
#include <charconv>
#include "boost/functional/hash_fwd.hpp"
#include <fmt/format.h>
#ifdef __clang__
+6 -3
View File
@@ -4,13 +4,16 @@
#include "util/helpers/TempState.h"
#include <SDL3/SDL.h>
#include <boost/functional/hash.hpp>
struct SDL_JoystickGUIDHash
{
std::size_t operator()(const SDL_GUID& guid) const
std::size_t operator()(const SDL_GUID& guid) const noexcept
{
return boost::hash_value(guid.data);
// FNV-1a
std::uint64_t hash = 14695981039346656037ull;
for (const auto byte : guid.data)
hash = (hash ^ byte) * 1099511628211ull;
return static_cast<std::size_t>(hash);
}
};
-2
View File
@@ -20,10 +20,8 @@
"boost-program-options",
"boost-nowide",
"boost-algorithm",
"boost-functional",
"boost-optional",
"boost-signals2",
"boost-asio",
"boost-ptr-container",
"boost-property-tree",
"boost-static-string",