mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-26 11:40:44 +00:00
Some tweaks to GCC errors, still think there's a couple
This commit is contained in:
1 parent
563878f20e
commit
17544d4577
3 files changed
+4
-5
No files matched your search
+2
-2
@@ -198,10 +198,10 @@ void CullPoints(std::vector<FindPerson_Point> &points) {
|
||||
|
||||
void Client::SendPathPacket(const std::vector<FindPerson_Point> &points) {
|
||||
EQ::BackgroundTask task([](EQEmu::Any &data) {
|
||||
auto &points = EQEmu::any_cast<std::vector<FindPerson_Point>>(data);
|
||||
auto &points = EQEmu::any_cast<std::vector<FindPerson_Point>&>(data);
|
||||
CullPoints(points);
|
||||
}, [this](EQEmu::Any &data) {
|
||||
auto &points = EQEmu::any_cast<std::vector<FindPerson_Point>>(data);
|
||||
auto &points = EQEmu::any_cast<std::vector<FindPerson_Point>&>(data);
|
||||
|
||||
if (points.size() < 2) {
|
||||
if (Admin() > 10) {
|
||||
|
||||
Reference in new issue
Block a user