mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Misc: Remove boost/algorithm dependency
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user