diff --git a/TinySTL/BinarySearchTree.h b/TinySTL/BinarySearchTree.h index 78eb095..28b37eb 100644 --- a/TinySTL/BinarySearchTree.h +++ b/TinySTL/BinarySearchTree.h @@ -28,7 +28,7 @@ namespace TinySTL{ }; typedef TinySTL::allocator nodeAllocator; public: - typedef T vaule_type; + typedef T value_type; typedef bst_iter const_iterator; typedef const T& const_reference; private: @@ -246,7 +246,7 @@ namespace TinySTL{ template friend class binary_search_tree; private: - typedef typename binary_search_tree::vaule_type value_type; + typedef typename binary_search_tree::value_type value_type; typedef typename binary_search_tree::const_reference const_reference; typedef typename const T::value_type *const_pointer; typedef binary_search_tree * cntrPtr;