Jump to content

error inserting item shop questlua_global.cpp


Recommended Posts

  • Honorable Member

Replace auto_ptr with unique_ptr.
 

Quote

The C++11 standard made auto_ptr deprecated, replacing it with the unique_ptr class template. auto_ptr was fully removed in C++17. For shared ownership, the shared_ptr template class can be used. shared_ptr was defined in C++11 and is also available in the Boost library for use with previous C++ versions.

Reference: https://en.wikipedia.org/wiki/Auto_ptr

Edited by Owsap
  • Love 2
Link to comment
Share on other sites

  • Honorable Member
12 minutes ago, josehdelaro said:

Thanks, the error with ptr is solved but I keep getting this other error, do you know why?

err2.png

#include "db.h" in your questlua_global.cpp.

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.