Guest User

Untitled

a guest
Mar 24th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. std::map<const SDL_Texture, std::vector<int[3]>> textures;
  2.  
  3. textures.insert(
  4. std::pair<const SDL_Texture, std::vector<int[3]>>(
  5. SDL_CreateTextureFromSurface(renderer, s),
  6. std::vector<int[3]>()
  7. )
  8. );
  9.  
  10. no instance of constructor "std::pair<_Ty1,_Ty2>::pair
  11. [with _ty1=const SDL_Texture, _Ty2=std::vector<int[3],std::allocator<int[3]>>]"
  12. matches the argument list argument types are:
  13. (SDL_Texture*, std::vector<int[3],std::allocator<int[3]>>)
  14.  
  15. for (std::pair<const SDL_Texture, std::vector<int[3]>> tex : textures) {
  16. }
Add Comment
Please, Sign In to add comment