summaryrefslogtreecommitdiffstats
path: root/core/io/dir_access.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/io/dir_access.h')
-rw-r--r--core/io/dir_access.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/dir_access.h b/core/io/dir_access.h
index d175235b98..e9c864c56b 100644
--- a/core/io/dir_access.h
+++ b/core/io/dir_access.h
@@ -70,7 +70,7 @@ protected:
AccessType get_access_type() const;
virtual String fix_path(const String &p_path) const;
- template <class T>
+ template <typename T>
static Ref<DirAccess> _create_builtin() {
return memnew(T);
}
@@ -130,7 +130,7 @@ public:
static Ref<DirAccess> create(AccessType p_access);
static Error get_open_error();
- template <class T>
+ template <typename T>
static void make_default(AccessType p_access) {
create_func[p_access] = _create_builtin<T>;
}