File tree 2 files changed +9
-7
lines changed
2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change
1
+ # Emboss doesn't (yet) support bzlmod.
2
+ common --noenable_bzlmod
1
3
# Emboss (at least notionally) supports C++11 until (at least) 2027. However,
2
4
# Googletest requires C++14, which means that all of the Emboss unit tests
3
5
# require C++14 to run.
Original file line number Diff line number Diff line change @@ -174,13 +174,13 @@ TEST(ContiguousBuffer, OffsetStorageType) {
174
174
// std::basic_string<> with non-default trailing template parameters.
175
175
template <class T >
176
176
struct NonstandardAllocator {
177
- using value_type = typename ::std::allocator<T>::value_type;
178
- using pointer = typename ::std::allocator<T>::pointer;
179
- using const_pointer = typename ::std::allocator<T>::const_pointer;
180
- using reference = typename ::std::allocator<T>::reference ;
181
- using const_reference = typename ::std::allocator<T>::const_reference ;
182
- using size_type = typename ::std::allocator<T>::size_type;
183
- using difference_type = typename ::std::allocator<T>::difference_type;
177
+ using value_type = typename ::std::allocator_traits<::std:: allocator<T> >::value_type;
178
+ using pointer = typename ::std::allocator_traits<::std:: allocator<T> >::pointer;
179
+ using const_pointer = typename ::std::allocator_traits<::std:: allocator<T> >::const_pointer;
180
+ using reference = typename ::std::allocator<T>::value_type & ;
181
+ using const_reference = const typename ::std::allocator_traits<::std:: allocator<T>>::value_type & ;
182
+ using size_type = typename ::std::allocator_traits<::std:: allocator<T> >::size_type;
183
+ using difference_type = typename ::std::allocator_traits<::std:: allocator<T> >::difference_type;
184
184
185
185
template <class U >
186
186
struct rebind {
You can’t perform that action at this time.
0 commit comments