• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

compilation error..

Edroniasty

New Member
Joined
Oct 2, 2015
Messages
84
Reaction score
1
Hello Im compiling tfs 1.2 and I have this error:

1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\memory(1185): error C2280: 'std::unique_ptr<Abilities,std::default_delete<_Ty>>::unique_ptr(const std::unique_ptr<_Ty,std::default_delete<_Ty>> &)' : attempting to reference a deleted function
1> with
1> [
1> _Ty=Abilities
1> ] (..\src\items.cpp)
1> C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\memory(1486) : see declaration of 'std::unique_ptr<Abilities,std::default_delete<_Ty>>::unique_ptr'
1> with
1> [
1> _Ty=Abilities
1> ]
1> This diagnostic occurred in the compiler generated function 'ItemType::ItemType(const ItemType &)'




How to solve it?
 
Back
Top