Skip to content

Commit

Permalink
Update libcxx/map
Browse files Browse the repository at this point in the history
  • Loading branch information
morzhovets committed Nov 27, 2023
1 parent 8c4cff4 commit 6d9aa4b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions test/sources/LibcxxTreeMapTester.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ namespace std
momo::TreeMapSettings>>;
}

using std::map;

#define LIBCXX_TEST_PREFIX "libcxx_test_tree_map"
#include "LibcxxMapTests.h"
#undef LIBCXX_TEST_PREFIX
Expand All @@ -64,8 +62,6 @@ namespace std
momo::TreeMapSettings>>;
}

using std::map;

#define LIBCXX_TEST_PREFIX "libcxx_test_tree_map_vp"
#include "LibcxxMapTests.h"
#undef LIBCXX_TEST_PREFIX
Expand Down
4 changes: 2 additions & 2 deletions test/sources/libcxx/map/map.cons/move_alloc.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ int main(int, char**)
typedef test_allocator<VC> A;
typedef std::less<int> C;
#ifdef LIBCPP_HAS_BAD_NEWS_FOR_MOMO
typedef map<const int, T, C, A> M;
typedef std::map<const int, T, C, A> M;
#else
typedef map<int, T, C, A> M;
typedef std::map<int, T, C, A> M;
#endif
typedef V* I;
Counter_base::gConstructed = 0;
Expand Down
2 changes: 1 addition & 1 deletion test/sources/libcxx/map/map.modifiers/merge.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ template<typename TKey, typename TMapped,
using multimap = momo::stdish::multimap<TKey, TMapped, TLessFunc, TAllocator,
momo::TreeMap<TKey, TMapped, momo::TreeTraitsStd<TKey, TLessFunc, true>,
momo::MemManagerStd<TAllocator>,
typename map<TKey, TMapped, TLessFunc, TAllocator>::nested_container_type::KeyValueTraits>>;
typename std::map<TKey, TMapped, TLessFunc, TAllocator>::nested_container_type::KeyValueTraits>>;

template <class Map>
bool map_equal(const Map& map, Map other)
Expand Down

0 comments on commit 6d9aa4b

Please sign in to comment.