Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [build] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xmemory(671): error C2280: 'std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>::pair(const std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>> &)': attempting to reference a deleted function
- [build] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\utility(168): note: see declaration of 'std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>::pair'
- [build] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\utility(168): note: 'std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>::pair(const std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>> &)': function was implicitly deleted because a data member invokes a deleted or inaccessible function 'std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>::unique_ptr(const std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>> &)'
- [build] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\memory(1912): note: 'std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>::unique_ptr(const std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>> &)': function was explicitly deleted
- [build] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xtree(353): note: see reference to function template instantiation 'void std::_Default_allocator_traits<_Alloc>::construct<_Ty,_Ty&>(_Alloc &,_Objty *const ,_Ty &)' being compiled
- [build] with
- [build] [
- [build] _Alloc=std::allocator<std::_Tree_node<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,std::_Default_allocator_traits<std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>>::void_pointer>>,
- [build] _Ty=std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,
- [build] _Objty=std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>
- [build] ]
- [build] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xtree(358): note: see reference to function template instantiation 'void std::_Default_allocator_traits<_Alloc>::construct<_Ty,_Ty&>(_Alloc &,_Objty *const ,_Ty &)' being compiled
- [build] with
- [build] [
- [build] _Alloc=std::allocator<std::_Tree_node<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,std::_Default_allocator_traits<std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>>::void_pointer>>,
- [build] _Ty=std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,
- [build] _Objty=std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>
- [build] ]
- [build] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xtree(2029): note: see reference to function template instantiation 'std::_Tree_node<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,std::_Default_allocator_traits<_Alloc>::void_pointer> *std::_Tree_node<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,std::_Default_allocator_traits<_Alloc>::void_pointer>::_Buynode<std::allocator<std::_Tree_node<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,std::_Default_allocator_traits<_Alloc>::void_pointer>>,_Ty&>(std::allocator<std::_Tree_node<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,std::_Default_allocator_traits<_Alloc>::void_pointer>> &,std::_Tree_node<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,std::_Default_allocator_traits<_Alloc>::void_pointer> *,_Ty &)' being compiled
- [build] with
- [build] [
- [build] _Alloc=std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>,
- [build] _Ty=std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>
- [build] ]
- [build] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xtree(2030): note: see reference to function template instantiation 'std::_Tree_node<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,std::_Default_allocator_traits<_Alloc>::void_pointer> *std::_Tree_node<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,std::_Default_allocator_traits<_Alloc>::void_pointer>::_Buynode<std::allocator<std::_Tree_node<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,std::_Default_allocator_traits<_Alloc>::void_pointer>>,_Ty&>(std::allocator<std::_Tree_node<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,std::_Default_allocator_traits<_Alloc>::void_pointer>> &,std::_Tree_node<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,std::_Default_allocator_traits<_Alloc>::void_pointer> *,_Ty &)' being compiled
- [build] with
- [build] [
- [build] _Alloc=std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>,
- [build] _Ty=std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>
- [build] ]
- [build] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xtree(1744): note: see reference to function template instantiation 'std::_Tree_node<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,std::_Default_allocator_traits<_Alloc>::void_pointer> *std::_Tree<std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,false>>::_Buynode<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>&>(std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>> &)' being compiled
- [build] with
- [build] [
- [build] _Alloc=std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>,
- [build] _Kty=uint32_t,
- [build] _Ty=std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>,
- [build] _Pr=std::less<uint32_t>
- [build] ]
- [build] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xtree(1744): note: see reference to function template instantiation 'std::_Tree_node<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,std::_Default_allocator_traits<_Alloc>::void_pointer> *std::_Tree<std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,false>>::_Buynode<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>&>(std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>> &)' being compiled
- [build] with
- [build] [
- [build] _Alloc=std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>,
- [build] _Kty=uint32_t,
- [build] _Ty=std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>,
- [build] _Pr=std::less<uint32_t>
- [build] ]
- [build] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xtree(1765): note: see reference to function template instantiation 'std::_Tree_node<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,std::_Default_allocator_traits<_Alloc>::void_pointer> *std::_Tree<std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,false>>::_Copy_or_move<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,std::integral_constant<bool,false>>(std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>> &,std::_Tree<std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,false>>::_Copy_tag,_Is_set)' being compiled
- [build] with
- [build] [
- [build] _Alloc=std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>,
- [build] _Kty=uint32_t,
- [build] _Ty=std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>,
- [build] _Pr=std::less<uint32_t>,
- [build] _Is_set=std::integral_constant<bool,false>
- [build] ]
- [build] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xtree(1765): note: see reference to function template instantiation 'std::_Tree_node<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,std::_Default_allocator_traits<_Alloc>::void_pointer> *std::_Tree<std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,false>>::_Copy_or_move<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,std::integral_constant<bool,false>>(std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>> &,std::_Tree<std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,false>>::_Copy_tag,_Is_set)' being compiled
- [build] with
- [build] [
- [build] _Alloc=std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>,
- [build] _Kty=uint32_t,
- [build] _Ty=std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>,
- [build] _Pr=std::less<uint32_t>,
- [build] _Is_set=std::integral_constant<bool,false>
- [build] ]
- [build] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xtree(1731): note: see reference to function template instantiation 'std::_Tree_node<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,std::_Default_allocator_traits<_Alloc>::void_pointer> *std::_Tree<std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,false>>::_Copy_nodes<_Moveit>(std::_Tree_node<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,std::_Default_allocator_traits<_Alloc>::void_pointer> *,std::_Tree_node<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,std::_Default_allocator_traits<_Alloc>::void_pointer> *,_Moveit)' being compiled
- [build] with
- [build] [
- [build] _Alloc=std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>,
- [build] _Kty=uint32_t,
- [build] _Ty=std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>,
- [build] _Pr=std::less<uint32_t>,
- [build] _Moveit=std::_Tree<std::_Tmap_traits<uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>,std::less<uint32_t>,std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>,false>>::_Copy_tag
- [build] ]
- [build] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xtree(1731): note: see reference to function template instantiation 'std::_Tree_node<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,std::_Default_allocator_traits<_Alloc>::void_pointer> *std::_Tree<std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,false>>::_Copy_nodes<_Moveit>(std::_Tree_node<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,std::_Default_allocator_traits<_Alloc>::void_pointer> *,std::_Tree_node<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,std::_Default_allocator_traits<_Alloc>::void_pointer> *,_Moveit)' being compiled
- [build] with
- [build] [
- [build] _Alloc=std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>,
- [build] _Kty=uint32_t,
- [build] _Ty=std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>,
- [build] _Pr=std::less<uint32_t>,
- [build] _Moveit=std::_Tree<std::_Tmap_traits<uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>,std::less<uint32_t>,std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>,false>>::_Copy_tag
- [build] ]
- [build] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xtree(897): note: see reference to function template instantiation 'void std::_Tree<std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,false>>::_Copy<std::_Tree<std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,false>>::_Copy_tag>(const std::_Tree<std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,false>> &,_Moveit)' being compiled
- [build] with
- [build] [
- [build] _Kty=uint32_t,
- [build] _Ty=std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>,
- [build] _Pr=std::less<uint32_t>,
- [build] _Alloc=std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>,
- [build] _Moveit=std::_Tree<std::_Tmap_traits<uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>,std::less<uint32_t>,std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>,false>>::_Copy_tag
- [build] ]
- [build] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\xtree(897): note: see reference to function template instantiation 'void std::_Tree<std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,false>>::_Copy<std::_Tree<std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,false>>::_Copy_tag>(const std::_Tree<std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,false>> &,_Moveit)' being compiled
- [build] with
- [build] [
- [build] _Kty=uint32_t,
- [build] _Ty=std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>,
- [build] _Pr=std::less<uint32_t>,
- [build] _Alloc=std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>,
- [build] _Moveit=std::_Tree<std::_Tmap_traits<uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>,std::less<uint32_t>,std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>,false>>::_Copy_tag
- [build] ]
- [build] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\map(111): note: see reference to function template instantiation 'std::_Tree<std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,false>>::_Tree<std::allocator<std::_Tree_node<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,std::_Default_allocator_traits<_Alloc>::void_pointer>>>(const std::_Tree<std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,false>> &,_Any_alloc &&)' being compiled
- [build] with
- [build] [
- [build] _Kty=uint32_t,
- [build] _Ty=std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>,
- [build] _Pr=std::less<uint32_t>,
- [build] _Alloc=std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>,
- [build] _Any_alloc=std::allocator<std::_Tree_node<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,std::_Default_allocator_traits<std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>>::void_pointer>>
- [build] ]
- [build] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\map(111): note: see reference to function template instantiation 'std::_Tree<std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,false>>::_Tree<std::allocator<std::_Tree_node<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,std::_Default_allocator_traits<_Alloc>::void_pointer>>>(const std::_Tree<std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,false>> &,_Any_alloc &&)' being compiled
- [build] with
- [build] [
- [build] _Kty=uint32_t,
- [build] _Ty=std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>,
- [build] _Pr=std::less<uint32_t>,
- [build] _Alloc=std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>,
- [build] _Any_alloc=std::allocator<std::_Tree_node<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,std::_Default_allocator_traits<std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>>::void_pointer>>
- [build] ]
- [build] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\map(111): note: while compiling class template member function 'std::map<uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>,std::less<uint32_t>,std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>>::map(const std::map<uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>,std::less<uint32_t>,std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>> &)'
- [build] ..\engine\src\Entity.cpp(54): note: see reference to function template instantiation 'std::map<uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>,std::less<uint32_t>,std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>>::map(const std::map<uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>,std::less<uint32_t>,std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>> &)' being compiled
- [build] E:\Development\Demo\ogl-graphics-engine\engine\src\Entity.hpp(25): note: see reference to class template instantiation 'std::map<uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>,std::less<uint32_t>,std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>>' being compiled
- [build] ninja: build stopped: subcommand failed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement