Jump to content

Recommended Posts


Hey ?
I want to implement a Wiki and now I get in the Client Source Stl.h
in the stl_wipe_second Function an Error:
Function:

 

template<typename TContainer>
inline void stl_wipe_second(TContainer& container)
{
	for (/*TContainer::iterator*/ auto i = container.begin(); i != container.end(); ++i)
	{
		delete i->second;
	}

	
	container.clear();
}



Following error 

Quote

" "delete": "_Ty2" cant get converted into "void*".

The Problem occurs on this line:
 

delete i->second;



Someone know how to solve this?

Edited by Realshadow
Core X - External 2 Internal
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.