Jump to content
  • 0

Error while Upgrade Server SRC to C++20 (VS22) - Windows


V0lvox

Question

  • Bronze

Hey 😃
I try to upgrade my server src to c++20.

Ive worked with:


But i get this errors:
spacer.png

char_manager:
 

template<class Func>
Func CHARACTER_MANAGER::for_each_pc(Func f) {
    std::unordered_map<DWORD, LPCHARACTER>::iterator it;

    for (it = m_map_pkChrByPID.begin(); it != m_map_pkChrByPID.end(); ++it)
        f(it->second);

    return f;
}

 

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.