Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- std::map<const SDL_Texture, std::vector<int[3]>> textures;
- textures.insert(
- std::pair<const SDL_Texture, std::vector<int[3]>>(
- SDL_CreateTextureFromSurface(renderer, s),
- std::vector<int[3]>()
- )
- );
- no instance of constructor "std::pair<_Ty1,_Ty2>::pair
- [with _ty1=const SDL_Texture, _Ty2=std::vector<int[3],std::allocator<int[3]>>]"
- matches the argument list argument types are:
- (SDL_Texture*, std::vector<int[3],std::allocator<int[3]>>)
- for (std::pair<const SDL_Texture, std::vector<int[3]>> tex : textures) {
- }
Add Comment
Please, Sign In to add comment