Jump to content
  • 0

error inserting item shop questlua_global.cpp


josehdelaro

Question

4 answers to this question

Recommended Posts

  • 0
  • VIP
Posted (edited)

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 post
  • 0
  • VIP
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.

  • Love 2
Link to post
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.