Jump to content

LFG need help!


kaxias

Recommended Posts

Hi Guys!

I found this code LFG on the Internet! but do not know who the author of the code! LINK

I believe was taken from the RSA

my problem when I compile and give me this error.

 ObjectMgr.cpp
..\\..\\src\\game\\ObjectMgr.cpp(202): error C2663: 'std::_Hash<_Traits>::find' : 2 overloads have no legal conversion for 'this' pointer
         with
         [
             _Traits=std::tr1::_Umap_traits<uint32,Group *,std::_Hash_compare<uint32,std::hash<uint32>,std::equal_to<size_t>>,std::allocator<std::pair<const uint32,Group *>>,false>
         ]

file ObjectMgr.cpp

Group* ObjectMgr::GetGroup(ObjectGuid guid) const
{
   GroupMap::const_iterator itr = mGroupMap.find(guid);
   if (itr != mGroupMap.end())
       return itr->second;

   return NULL;
}

if possible someone help me. I will be grateful.

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

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. Privacy Policy Terms of Use