Advertisement
hnOsmium0001

Untitled

Mar 21st, 2020
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.85 KB | None | 0 0
  1. [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
  2. [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'
  3. [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>> &)'
  4. [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
  5. [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
  6. [build] with
  7. [build] [
  8. [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>>,
  9. [build] _Ty=std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,
  10. [build] _Objty=std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>
  11. [build] ]
  12. [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
  13. [build] with
  14. [build] [
  15. [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>>,
  16. [build] _Ty=std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>,
  17. [build] _Objty=std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>
  18. [build] ]
  19. [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
  20. [build] with
  21. [build] [
  22. [build] _Alloc=std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>,
  23. [build] _Ty=std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>
  24. [build] ]
  25. [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
  26. [build] with
  27. [build] [
  28. [build] _Alloc=std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>,
  29. [build] _Ty=std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>
  30. [build] ]
  31. [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
  32. [build] with
  33. [build] [
  34. [build] _Alloc=std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>,
  35. [build] _Kty=uint32_t,
  36. [build] _Ty=std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>,
  37. [build] _Pr=std::less<uint32_t>
  38. [build] ]
  39. [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
  40. [build] with
  41. [build] [
  42. [build] _Alloc=std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>,
  43. [build] _Kty=uint32_t,
  44. [build] _Ty=std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>,
  45. [build] _Pr=std::less<uint32_t>
  46. [build] ]
  47. [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
  48. [build] with
  49. [build] [
  50. [build] _Alloc=std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>,
  51. [build] _Kty=uint32_t,
  52. [build] _Ty=std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>,
  53. [build] _Pr=std::less<uint32_t>,
  54. [build] _Is_set=std::integral_constant<bool,false>
  55. [build] ]
  56. [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
  57. [build] with
  58. [build] [
  59. [build] _Alloc=std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>,
  60. [build] _Kty=uint32_t,
  61. [build] _Ty=std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>,
  62. [build] _Pr=std::less<uint32_t>,
  63. [build] _Is_set=std::integral_constant<bool,false>
  64. [build] ]
  65. [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
  66. [build] with
  67. [build] [
  68. [build] _Alloc=std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>,
  69. [build] _Kty=uint32_t,
  70. [build] _Ty=std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>,
  71. [build] _Pr=std::less<uint32_t>,
  72. [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
  73. [build] ]
  74. [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
  75. [build] with
  76. [build] [
  77. [build] _Alloc=std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>,
  78. [build] _Kty=uint32_t,
  79. [build] _Ty=std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>,
  80. [build] _Pr=std::less<uint32_t>,
  81. [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
  82. [build] ]
  83. [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
  84. [build] with
  85. [build] [
  86. [build] _Kty=uint32_t,
  87. [build] _Ty=std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>,
  88. [build] _Pr=std::less<uint32_t>,
  89. [build] _Alloc=std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>,
  90. [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
  91. [build] ]
  92. [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
  93. [build] with
  94. [build] [
  95. [build] _Kty=uint32_t,
  96. [build] _Ty=std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>,
  97. [build] _Pr=std::less<uint32_t>,
  98. [build] _Alloc=std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>,
  99. [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
  100. [build] ]
  101. [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
  102. [build] with
  103. [build] [
  104. [build] _Kty=uint32_t,
  105. [build] _Ty=std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>,
  106. [build] _Pr=std::less<uint32_t>,
  107. [build] _Alloc=std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>,
  108. [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>>
  109. [build] ]
  110. [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
  111. [build] with
  112. [build] [
  113. [build] _Kty=uint32_t,
  114. [build] _Ty=std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>,
  115. [build] _Pr=std::less<uint32_t>,
  116. [build] _Alloc=std::allocator<std::pair<const uint32_t,std::unique_ptr<HOEngine::Component,std::default_delete<HOEngine::Component>>>>,
  117. [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>>
  118. [build] ]
  119. [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>>>>> &)'
  120. [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
  121. [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
  122. [build] ninja: build stopped: subcommand failed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement