mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 15:58:36 +00:00
[CPP] Update C++ standard to C++17 (#2308)
* Update C++ standard to C++17 * Nuke EQ::Any in favor of std::any * Remove std::iterator due to deprecation * Replace result_of with invoke_result due to deprecation
This commit is contained in:
committed by
GitHub
parent
f4f5728195
commit
5331f4d841
+2
-2
@@ -374,7 +374,7 @@ void Client::GoFish()
|
||||
}
|
||||
|
||||
if (inst) {
|
||||
std::vector<EQ::Any> args;
|
||||
std::vector<std::any> args;
|
||||
args.push_back(inst);
|
||||
parse->EventPlayer(EVENT_FISH_SUCCESS, this, "", inst->GetID(), &args);
|
||||
}
|
||||
@@ -494,7 +494,7 @@ void Client::ForageItem(bool guarantee) {
|
||||
}
|
||||
|
||||
if(inst) {
|
||||
std::vector<EQ::Any> args;
|
||||
std::vector<std::any> args;
|
||||
args.push_back(inst);
|
||||
parse->EventPlayer(EVENT_FORAGE_SUCCESS, this, "", inst->GetID(), &args);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user