Advertisement
Guest User

Untitled

a guest
Oct 24th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.33 KB | None | 0 0
  1. 'std::unique_ptr<CEntityBullet,std::default_delete<_Ty>>::unique_ptr(const std::unique_ptr<_Ty,std::default_delete<_Ty>> &) with [_Ty=CEntityBullet]': attempting to reference a deleted function (compiling source file EntityWeaponGunBehaviourCharge.cpp)c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.15.26726\include\memory(2337): note: see declaration of 'std::unique_ptr<CEntityBullet,std::default_delete<_Ty>> with [_Ty=CEntityBullet]::unique_ptr' (compiling source file EntityWeaponGunBehaviourCharge.cpp)c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.15.26726\include\memory(2337): note: 'std::unique_ptr<CEntityBullet,std::default_delete<_Ty>>::unique_ptr(const std::unique_ptr<_Ty,std::default_delete<_Ty>> &) with [_Ty=CEntityBullet]': function was explicitly deleted (compiling source file EntityWeaponGunBehaviourCharge.cpp)c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.15.26726\include\xmemory(164): note: see reference to function template instantiation 'void std::_Default_allocator_traits<_Alloc>::construct<_Ty,_Ty&>(_Alloc &,_Objty *const ,_Ty &) with [_Alloc=std::allocator<std::unique_ptr<CEntityBullet,std::default_delete<CEntityBullet>>>, _Ty=std::unique_ptr<CEntityBullet,std::default_delete<CEntityBullet>>, _Objty=std::unique_ptr<CEntityBullet,std::default_delete<CEntityBullet>>]' being compiled (compiling source file EntityWeaponGunBehaviourCharge.cpp)c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.15.26726\include\xmemory(164): note: see reference to function template instantiation 'void std::_Default_allocator_traits<_Alloc>::construct<_Ty,_Ty&>(_Alloc &,_Objty *const ,_Ty &) with [_Alloc=std::allocator<std::unique_ptr<CEntityBullet,std::default_delete<CEntityBullet>>>, _Ty=std::unique_ptr<CEntityBullet,std::default_delete<CEntityBullet>>, _Objty=std::unique_ptr<CEntityBullet,std::default_delete<CEntityBullet>>]' being compiled (compiling source file EntityWeaponGunBehaviourCharge.cpp)c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.15.26726\include\xmemory(190): note: see reference to function template instantiation 'void std::_Uninitialized_backout_al<_FwdIt,_Alloc>::_Emplace_back<_Ty&>(_Ty &) with [_FwdIt=std::unique_ptr<CEntityBullet,std::default_delete<CEntityBullet>> *, _Alloc=std::allocator<std::unique_ptr<CEntityBullet,std::default_delete<CEntityBullet>>>, _Ty=std::unique_ptr<CEntityBullet,std::default_delete<CEntityBullet>>]' being compiled (compiling source file EntityWeaponGunBehaviourCharge.cpp)c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.15.26726\include\xmemory(190): note: see reference to function template instantiation 'void std::_Uninitialized_backout_al<_FwdIt,_Alloc>::_Emplace_back<_Ty&>(_Ty &) with [_FwdIt=std::unique_ptr<CEntityBullet,std::default_delete<CEntityBullet>> *, _Alloc=std::allocator<std::unique_ptr<CEntityBullet,std::default_delete<CEntityBullet>>>, _Ty=std::unique_ptr<CEntityBullet,std::default_delete<CEntityBullet>>]' being compiled (compiling source file EntityWeaponGunBehaviourCharge.cpp)c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.15.26726\include\xmemory(217): note: see reference to function template instantiation '_FwdIt std::_Uninitialized_copy_al_unchecked<_Ty*,_Ty*,_Alloc>(_InIt,const _InIt,const _FwdIt,_Alloc &,std::_General_ptr_iterator_tag,std::_Any_tag) with [_FwdIt=std::unique_ptr<CEntityBullet,std::default_delete<CEntityBullet>> *, _Ty=std::unique_ptr<CEntityBullet,std::default_delete<CEntityBullet>>, _Alloc=std::allocator<std::unique_ptr<CEntityBullet,std::default_delete<CEntityBullet>>>, _InIt=const std::unique_ptr<CEntityBullet,std::default_delete<CEntityBullet>> *]' being compiled (compiling source file EntityWeaponGunBehaviourCharge.cpp)c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.15.26726\include\vector(1823): note: see reference to function template instantiation '_FwdIt *std::_Uninitialized_copy<_Iter,std::unique_ptr<CEntityBullet,std::default_delete<_Ty>>*,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>(const _InIt,const _InIt,_FwdIt,_Alloc &) with [_FwdIt=std::unique_ptr<CEntityBullet,std::default_delete<CEntityBullet>> *, _Iter=const std::unique_ptr<CEntityBullet,std::default_delete<CEntityBullet>> *, _Ty=CEntityBullet, _InIt=const std::unique_ptr<CEntityBullet,std::default_delete<CEntityBullet>> *, _Alloc=std::allocator<std::unique_ptr<CEntityBullet,std::default_delete<CEntityBullet>>>]' being compiled (compiling source file EntityWeaponGunBehaviourCharge.cpp)c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.15.26726\include\vector(708): note: see reference to function template instantiation 'std::unique_ptr<CEntityBullet,std::default_delete<_Ty>> *std::vector<std::unique_ptr<_Ty,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>::_Ucopy<_Iter>(_Iter,_Iter,std::unique_ptr<_Ty,std::default_delete<_Ty>> *) with [_Ty=CEntityBullet, _Iter=const std::unique_ptr<CEntityBullet,std::default_delete<CEntityBullet>> *]' being compiled (compiling source file EntityWeaponGunBehaviourCharge.cpp)c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.15.26726\include\vector(708): note: see reference to function template instantiation 'std::unique_ptr<CEntityBullet,std::default_delete<_Ty>> *std::vector<std::unique_ptr<_Ty,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>::_Ucopy<_Iter>(_Iter,_Iter,std::unique_ptr<_Ty,std::default_delete<_Ty>> *) with [_Ty=CEntityBullet, _Iter=const std::unique_ptr<CEntityBullet,std::default_delete<CEntityBullet>> *]' being compiled (compiling source file EntityWeaponGunBehaviourCharge.cpp)c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.15.26726\include\vector(729): note: see reference to function template instantiation 'void std::vector<std::unique_ptr<CEntityBullet,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>::_Range_construct_or_tidy<const _Elem*>(_Iter,_Iter,std::forward_iterator_tag) with [_Ty=CEntityBullet, _Elem=std::unique_ptr<CEntityBullet,std::default_delete<CEntityBullet>>, _Iter=const std::unique_ptr<CEntityBullet,std::default_delete<CEntityBullet>> *]' being compiled (compiling source file EntityWeaponGunBehaviourCharge.cpp)c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.15.26726\include\vector(729): note: see reference to function template instantiation 'void std::vector<std::unique_ptr<CEntityBullet,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>::_Range_construct_or_tidy<const _Elem*>(_Iter,_Iter,std::forward_iterator_tag) with [_Ty=CEntityBullet, _Elem=std::unique_ptr<CEntityBullet,std::default_delete<CEntityBullet>>, _Iter=const std::unique_ptr<CEntityBullet,std::default_delete<CEntityBullet>> *]' being compiled (compiling source file EntityWeaponGunBehaviourCharge.cpp)c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.15.26726\include\vector(726): note: while compiling class template member function 'std::vector<std::unique_ptr<CEntityBullet,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>::vector(std::initializer_list<std::unique_ptr<_Ty,std::default_delete<_Ty>>>,const _Alloc &) with [_Ty=CEntityBullet, _Alloc=std::allocator<std::unique_ptr<CEntityBullet,std::default_delete<CEntityBullet>>>]' (compiling source file EntityWeaponGunBehaviourCharge.cpp)c:\users\olli-\documents\workspace\gunhero\gunheroremake\entityweapongunbehaviourcharge.cpp(64): note: see reference to function template instantiation 'std::vector<std::unique_ptr<CEntityBullet,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>::vector(std::initializer_list<std::unique_ptr<_Ty,std::default_delete<_Ty>>>,const _Alloc &) with [_Ty=CEntityBullet, _Alloc=std::allocator<std::unique_ptr<CEntityBullet,std::default_delete<CEntityBullet>>>]' being compiledc:\users\olli-\documents\workspace\gunhero\gunheroremake\entityweapongunbehaviourcharge.cpp(61): note: see reference to class template instantiation 'std::vector<std::unique_ptr<CEntityBullet,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>> with [_Ty=CEntityBullet]' being compiled
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement