SHARE
TWEET

Untitled

a guest May 26th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. :\program files (x86)\microsoft visual studio\2019\community\vc\tools\msvc\14.16.27023\include\algorithm(2117): error C2664: 'bool requirement_data::disassembly_requirements::<lambda_90763e6efd172e19f74c24719c1a5350>::operator ()(const tool_comp &,const tool_comp &) const': cannot convert argument 1 from 'std::vector<tool_comp,std::allocator<_Ty>>' to 'const tool_comp &'
  2.           with
  3.           [
  4.               _Ty=tool_comp
  5.           ] (compiling source file ..\src\requirements.cpp)
  6.   c:\program files (x86)\microsoft visual studio\2019\community\vc\tools\msvc\14.16.27023\include\algorithm(2117): note: Reason: cannot convert from 'std::vector<tool_comp,std::allocator<_Ty>>' to 'const tool_comp'
  7.           with
  8.           [
  9.               _Ty=tool_comp
  10.           ] (compiling source file ..\src\requirements.cpp)
  11.   c:\program files (x86)\microsoft visual studio\2019\community\vc\tools\msvc\14.16.27023\include\algorithm(2117): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called (compiling source file ..\src\requirements.cpp)
  12.   x:\github repository\cataclysm-dda\src\requirements.cpp(873): note: see reference to function template instantiation '_FwdIt std::unique<std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>,requirement_data::disassembly_requirements::<lambda_90763e6efd172e19f74c24719c1a5350>>(_FwdIt,_FwdIt,_Pr)' being compiled
  13.           with
  14.           [
  15.               _FwdIt=std::_Vector_iterator<std::_Vector_val<std::_Simple_types<std::vector<tool_comp,std::allocator<tool_comp>>>>>,
  16.               _Ty=std::vector<tool_comp,std::allocator<tool_comp>>,
  17.               _Pr=requirement_data::disassembly_requirements::<lambda_90763e6efd172e19f74c24719c1a5350>
  18.           ]
  19.   x:\github repository\cataclysm-dda\src\units.h(385): note: see reference to class template instantiation 'units::quantity<unsigned __int64,units::mass_in_gram_tag>' being compiled (compiling source file ..\src\requirements.cpp)
  20.   x:\github repository\cataclysm-dda\src\units.h(278): note: see reference to class template instantiation 'units::quantity<int,units::volume_in_milliliter_tag>' being compiled (compiling source file ..\src\requirements.cpp)
  21. c:\program files (x86)\microsoft visual studio\2019\community\vc\tools\msvc\14.16.27023\include\algorithm(2121): error C2664: 'bool requirement_data::disassembly_requirements::<lambda_90763e6efd172e19f74c24719c1a5350>::operator ()(const tool_comp &,const tool_comp &) const': cannot convert argument 1 from 'std::vector<tool_comp,std::allocator<_Ty>>' to 'const tool_comp &'
  22.           with
  23.           [
  24.               _Ty=tool_comp
  25.           ] (compiling source file ..\src\requirements.cpp)
  26.   c:\program files (x86)\microsoft visual studio\2019\community\vc\tools\msvc\14.16.27023\include\algorithm(2121): note: Reason: cannot convert from 'std::vector<tool_comp,std::allocator<_Ty>>' to 'const tool_comp'
  27.           with
  28.           [
  29.               _Ty=tool_comp
  30.           ] (compiling source file ..\src\requirements.cpp)
  31.   c:\program files (x86)\microsoft visual studio\2019\community\vc\tools\msvc\14.16.27023\include\algorithm(2121): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called (compiling source file ..\src\requirements.cpp)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top