From b61e4e5b140278705c79674c02de6886b2189f71 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Sun, 26 Jun 2016 11:50:15 -0400 Subject: fixing everything that's apparently broken... --- include/texture.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/texture.hpp') diff --git a/include/texture.hpp b/include/texture.hpp index 95bd73b..0ee3e2c 100644 --- a/include/texture.hpp +++ b/include/texture.hpp @@ -47,8 +47,9 @@ public: position = std::begin(textures); } TextureIterator(const std::vector &l) { - for (const auto &s : l) + for (const auto &s : l) { textures.emplace_back(Texture::loadTexture(s), s); + } position = std::begin(textures); } void operator++(int) noexcept { -- cgit v1.2.3