From 6839736b8283a59eb743e1f6058c7d266a3e7f36 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Tue, 28 Jun 2022 12:17:48 -0700 Subject: Changeset: 78 Replace "class" keyword in templates with "typename" --- source/30-game/Material.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/30-game/Material.cpp') diff --git a/source/30-game/Material.cpp b/source/30-game/Material.cpp index 9b0c42d..4443ae5 100644 --- a/source/30-game/Material.cpp +++ b/source/30-game/Material.cpp @@ -33,7 +33,7 @@ bool TryFindShaderId(Shader* shader, std::string_view name, int& out) { return true; } -template +template TUniform& ObtainUniform(Shader* shader, const char* name, std::vector& uniforms, GLint location) { for (auto& uniform : uniforms) { if (uniform.location == location) { -- cgit v1.2.3-70-g09d2