diff options
author | David Snopek <dsnopek@gmail.com> | 2024-04-02 14:30:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-02 14:30:01 -0500 |
commit | 44d78ec8816e57fdd0c06812d31c09a25b97d6e8 (patch) | |
tree | 502a26499fd129c80619ed290cd0125b327055f1 /include/godot_cpp/templates/rb_map.hpp | |
parent | a62f633cebee4b36356dc903d00670733cd28fb1 (diff) | |
parent | 87f5fb06912d19b3ff3ba80b747fcea3023a1ed5 (diff) | |
download | redot-cpp-44d78ec8816e57fdd0c06812d31c09a25b97d6e8.tar.gz |
Merge pull request #1409 from Repiteo/class-to-typename
Enforce template syntax `typename` over `class`
Diffstat (limited to 'include/godot_cpp/templates/rb_map.hpp')
-rw-r--r-- | include/godot_cpp/templates/rb_map.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/godot_cpp/templates/rb_map.hpp b/include/godot_cpp/templates/rb_map.hpp index cce1e91..6ab71fd 100644 --- a/include/godot_cpp/templates/rb_map.hpp +++ b/include/godot_cpp/templates/rb_map.hpp @@ -40,7 +40,7 @@ namespace godot { // based on the very nice implementation of rb-trees by: // https://web.archive.org/web/20120507164830/https://web.mit.edu/~emin/www/source_code/red_black_tree/index.html -template <class K, class V, class C = Comparator<K>, class A = DefaultAllocator> +template <typename K, typename V, typename C = Comparator<K>, typename A = DefaultAllocator> class RBMap { enum Color { RED, |