<commit_before>#ifndef MODELLOADER_VERTEXBUFFERFACTORY_HPP
#define MODELLOADER_VERTEXBUFFERFACTORY_HPP

#include <tuple>
#include <string>
#include <map>

#include "glload/gl_3_2.h"

namespace modelloader {
	class VertexBufferFactory {
		private:
			std::map<const std::string, const std::tuple<const GLuint, const GLuint>> vbopool;
			
			static VertexBufferFactory instance;
			VertexBufferFactory() {};
		public:
			const std::tuple<const GLuint, const GLuint> operator[] (std::string objName);
			
			VertexBufferFactory& getInstance();
	};
	
	VertexBufferFactory& VertexBufferFactory::getInstance() {
 		return instance;
	}
}
#endif // MODELLOADER_VERTEXBUFFERFACTORY_HPP
<commit_msg>Fix VertexBufferFactory getInstance to static...<commit_after>#ifndef MODELLOADER_VERTEXBUFFERFACTORY_HPP
#define MODELLOADER_VERTEXBUFFERFACTORY_HPP

#include <tuple>
#include <string>
#include <map>

#include "glload/gl_3_2.h"

namespace modelloader {
	class VertexBufferFactory {
		private:
			std::map<const std::string, const std::tuple<const GLuint, const GLuint>> vbopool;
			
			static VertexBufferFactory instance;
			VertexBufferFactory() {};
		public:
			const std::tuple<const GLuint, const GLuint> operator[] (std::string objName);
			
			static inline VertexBufferFactory& getInstance();
	};
	
	inline VertexBufferFactory& VertexBufferFactory::getInstance() {
 		return instance;
	}
}
#endif // MODELLOADER_VERTEXBUFFERFACTORY_HPP

{'fraction_non_alphanumeric': 0.10251046025104603, 'fraction_numerical': 0.002789400278940028, 'mean_word_length': 6.0, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4616008', 'n_tokens_mistral': 519, 'n_tokens_neox': 476, 'n_words': 99}