aboutsummaryrefslogtreecommitdiff
path: root/source/30-game/EditorUtils.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/30-game/EditorUtils.hpp')
-rw-r--r--source/30-game/EditorUtils.hpp2
1 files changed, 1 insertions, 1 deletions
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 <class T>
+template <typename T>
T* SimpleIresReceptor(T* existing, IEditor& editor, IresObject::Kind kind) {
if (existing) {
existing->ShowReference(editor);