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/EditorUtils.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/30-game/EditorUtils.hpp') diff --git a/source/30-game/EditorUtils.hpp b/source/30-game/EditorUtils.hpp index 9d15f61..96e92d3 100644 --- a/source/30-game/EditorUtils.hpp +++ b/source/30-game/EditorUtils.hpp @@ -65,7 +65,7 @@ float CalcImageWidth(glm::vec2 original, float targetHeight); ImVec2 FitImage(glm::vec2 original); // TODO get kind from T -template +template T* SimpleIresReceptor(T* existing, IEditor& editor, IresObject::Kind kind) { if (existing) { existing->ShowReference(editor); -- cgit v1.2.3-70-g09d2