Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1>------ Build started: Project: ReShade, Configuration: Release Win32 ------
- 1>Updating Version Number File .......
- 1> Full Version: 0.0.0.3
- 1> File Version: 0.0.0.3
- 1> Product Version: 0.0.0
- 1>main.cpp
- 1>runtime.cpp
- 1>runtime_objects.cpp
- 1>E:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\include\xmemory0(840): error C2280: 'std::unique_ptr<reshade::base_object,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=reshade::base_object
- 1> ]
- 1>E:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\include\memory(1857): note: see declaration of 'std::unique_ptr<reshade::base_object,std::default_delete<_Ty>>::unique_ptr'
- 1> with
- 1> [
- 1> _Ty=reshade::base_object
- 1> ]
- 1>E:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\include\xmemory0(959): note: see reference to function template instantiation 'void std::allocator<_Ty>::construct<_Objty,std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>&>(_Objty *,std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>> &)' being compiled
- 1> with
- 1> [
- 1> _Ty=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>,
- 1> _Objty=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>
- 1> ]
- 1>E:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\include\xmemory0(959): note: see reference to function template instantiation 'void std::allocator<_Ty>::construct<_Objty,std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>&>(_Objty *,std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>> &)' being compiled
- 1> with
- 1> [
- 1> _Ty=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>,
- 1> _Objty=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>
- 1> ]
- 1>E:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\include\xmemory0(1097): note: see reference to function template instantiation 'void std::allocator_traits<_Alloc>::construct<_Ty,std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>&>(std::allocator<_Ty> &,_Objty *,std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>> &)' being compiled
- 1> with
- 1> [
- 1> _Alloc=std::allocator<std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>>,
- 1> _Ty=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>,
- 1> _Objty=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>
- 1> ]
- 1>E:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\include\xmemory0(1096): note: see reference to function template instantiation 'void std::allocator_traits<_Alloc>::construct<_Ty,std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>&>(std::allocator<_Ty> &,_Objty *,std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>> &)' being compiled
- 1> with
- 1> [
- 1> _Alloc=std::allocator<std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>>,
- 1> _Ty=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>,
- 1> _Objty=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>
- 1> ]
- 1>E:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\include\xmemory(92): note: see reference to function template instantiation 'void std::_Wrap_alloc<std::allocator<_Ty>>::construct<_Ty,std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>&>(_Ty *,std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>> &)' being compiled
- 1> with
- 1> [
- 1> _Ty=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>
- 1> ]
- 1>E:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\include\xmemory(92): note: see reference to function template instantiation 'void std::_Wrap_alloc<std::allocator<_Ty>>::construct<_Ty,std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>&>(_Ty *,std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>> &)' being compiled
- 1> with
- 1> [
- 1> _Ty=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>
- 1> ]
- 1>E:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\include\xmemory(126): note: see reference to function template instantiation '_FwdIt *std::_Uninitialized_copy_al_unchecked<_Iter,_Iter,std::allocator<_Ty>>(_InIt,_InIt,_FwdIt,std::_Wrap_alloc<std::allocator<_Ty>> &,std::_General_ptr_iterator_tag,std::_Any_tag)' being compiled
- 1> with
- 1> [
- 1> _FwdIt=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>> *,
- 1> _Iter=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>> *,
- 1> _Ty=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>,
- 1> _InIt=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>> *
- 1> ]
- 1>E:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\include\vector(1859): note: see reference to function template instantiation '_FwdIt *std::_Uninitialized_copy<_Iter,std::unique_ptr<reshade::base_object,std::default_delete<_Ty>>*,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>(_InIt,_InIt,_FwdIt,std::_Wrap_alloc<std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>> &)' being compiled
- 1> with
- 1> [
- 1> _FwdIt=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>> *,
- 1> _Iter=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>> *,
- 1> _Ty=reshade::base_object,
- 1> _InIt=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>> *
- 1> ]
- 1>E:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\include\vector(809): note: see reference to function template instantiation 'std::unique_ptr<reshade::base_object,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<std::unique_ptr<_Ty,std::default_delete<_Ty>>*>(_Iter,_Iter,std::unique_ptr<_Ty,std::default_delete<_Ty>> *)' being compiled
- 1> with
- 1> [
- 1> _Ty=reshade::base_object,
- 1> _Iter=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>> *
- 1> ]
- 1>E:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\include\vector(809): note: see reference to function template instantiation 'std::unique_ptr<reshade::base_object,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<std::unique_ptr<_Ty,std::default_delete<_Ty>>*>(_Iter,_Iter,std::unique_ptr<_Ty,std::default_delete<_Ty>> *)' being compiled
- 1> with
- 1> [
- 1> _Ty=reshade::base_object,
- 1> _Iter=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>> *
- 1> ]
- 1>E:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\include\vector(803): note: while compiling class template member function 'std::vector<std::unique_ptr<reshade::base_object,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>::vector(const std::vector<std::unique_ptr<_Ty,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>> &)'
- 1> with
- 1> [
- 1> _Ty=reshade::base_object
- 1> ]
- 1>source\runtime_objects.cpp(246): note: see reference to function template instantiation 'std::vector<std::unique_ptr<reshade::base_object,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>::vector(const std::vector<std::unique_ptr<_Ty,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>> &)' being compiled
- 1> with
- 1> [
- 1> _Ty=reshade::base_object
- 1> ]
- 1>c:\projects\c++\reshade\source\runtime_objects.hpp(105): note: see reference to class template instantiation 'std::vector<std::unique_ptr<reshade::base_object,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>' being compiled
- 1> with
- 1> [
- 1> _Ty=reshade::base_object
- 1> ]
- 1>E:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\include\memory(1857): note: 'std::unique_ptr<reshade::base_object,std::default_delete<_Ty>>::unique_ptr(const std::unique_ptr<_Ty,std::default_delete<_Ty>> &)': function was explicitly deleted
- 1> with
- 1> [
- 1> _Ty=reshade::base_object
- 1> ]
- 1>Done building project "ReShade.vcxproj" -- FAILED.
- ========== Build: 0 succeeded, 1 failed, 4 up-to-date, 0 skipped ==========
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement