فهرست منبع

Rename Dictionary to Map

Daniele Bartolini 12 سال پیش
والد
کامیت
77484fcc72
2فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 1 1
      engine/Crown.h
  2. 3 3
      engine/core/containers/Map.h

+ 1 - 1
engine/Crown.h

@@ -58,7 +58,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 #include "Sphere.h"
 #include "Sphere.h"
 
 
 // Core/Containers
 // Core/Containers
-#include "Dictionary.h"
+#include "Map.h"
 #include "RBTree.h"
 #include "RBTree.h"
 #include "List.h"
 #include "List.h"
 #include "Generic.h"
 #include "Generic.h"

+ 3 - 3
engine/core/containers/Dictionary.h → engine/core/containers/Map.h

@@ -36,11 +36,11 @@ class Allocator;
 
 
 //Note: TKey must implement operators < and ==
 //Note: TKey must implement operators < and ==
 template<class TKey, class TValue>
 template<class TKey, class TValue>
-class Dictionary: public RBTree<TKey, TValue>
+class Map : public RBTree<TKey, TValue>
 {
 {
 public:
 public:
-	Dictionary(Allocator& allocator) : RBTree<TKey, TValue>(allocator) {};
-	~Dictionary() {};
+	Map(Allocator& allocator) : RBTree<TKey, TValue>(allocator) {};
+	~Map() {};
 
 
 	//using RBTree<TKey, TValue>::Pair;
 	//using RBTree<TKey, TValue>::Pair;