]> git.tdb.fi Git - libs/gl.git/blobdiff - source/program.h
Use vector when there's no reason to use some other container
[libs/gl.git] / source / program.h
index a3fe57bfbece6c409cf7e967191e580a5fd5c5ac..cbb52cd4536e93bd0b2cd65c0f9868cfe946b1f5 100644 (file)
@@ -1,8 +1,8 @@
 #ifndef MSP_GL_PROGRAM_H_
 #define MSP_GL_PROGRAM_H_
 
-#include <list>
 #include <string>
+#include <vector>
 #include <msp/datafile/objectloader.h>
 #include "bindable.h"
 #include "gl.h"
@@ -59,7 +59,7 @@ public:
                LayoutHash layout_hash;
        };
 
-       typedef std::list<Shader *> ShaderList;
+       typedef std::vector<Shader *> ShaderList;
        typedef std::map<std::string, UniformInfo> UniformMap;
        typedef std::map<std::string, UniformBlockInfo> UniformBlockMap;