Core/Misc: Remove boost/algorithm dependency

This commit is contained in:
Shauren
2025-06-08 14:37:54 +02:00
parent 0f9a0accf1
commit ff6df050c5
5 changed files with 42 additions and 32 deletions

View File

@@ -25,7 +25,6 @@
#include "Player.h"
#include "StringConvert.h"
#include "World.h"
#include <boost/algorithm/string/find.hpp>
#include <fstream>
#include <sstream>
@@ -303,7 +302,7 @@ void PlayerDump::InitializeTables()
TableField f;
f.FieldName = columnName;
f.IsBinaryField = !boost::ifind_first(typeName, "binary").empty() || !boost::ifind_first(typeName, "blob").empty();
f.IsBinaryField = StringContainsStringI(typeName, "binary"sv) || StringContainsStringI(typeName, "blob"sv);
bool toUpperResult = Utf8ToUpperOnlyLatin(columnName);
ASSERT(toUpperResult);