From cd5e3778dc2c5bc6d9f1fe89158ec314541f0e48 Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Mon, 21 Sep 2026 16:07:15 +0300 Subject: [PATCH] Fix CRLF line endings. Replace CRLF line endings with LF in git to avoid permanent "modified" git state on POSIX systems. --- include/boost/container/allocator.hpp | 4 ++-- include/boost/container/node_allocator.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/boost/container/allocator.hpp b/include/boost/container/allocator.hpp index 27fe1455..6d7c1835 100644 --- a/include/boost/container/allocator.hpp +++ b/include/boost/container/allocator.hpp @@ -288,7 +288,7 @@ class allocator void allocate_many(size_type elem_size, std::size_t n_elements, multiallocation_chain &chain) { BOOST_CONTAINER_STATIC_ASSERT(( Version > 1 )); - dlmalloc::memchain ch; + dlmalloc::memchain ch; if(!dlmalloc_heap().multialloc_nodes(n_elements, elem_size*sizeof(T), dlmalloc::default_contiguous, &ch)){ boost::container::throw_bad_alloc(); } @@ -309,7 +309,7 @@ class allocator void allocate_many(const size_type *elem_sizes, size_type n_elements, multiallocation_chain &chain) { BOOST_CONTAINER_STATIC_ASSERT(( Version > 1 )); - dlmalloc::memchain ch; + dlmalloc::memchain ch; if(!dlmalloc_heap().multialloc_arrays(n_elements, elem_sizes, sizeof(T), dlmalloc::default_contiguous, &ch)){ boost::container::throw_bad_alloc(); } diff --git a/include/boost/container/node_allocator.hpp b/include/boost/container/node_allocator.hpp index 92569464..0f6804ce 100644 --- a/include/boost/container/node_allocator.hpp +++ b/include/boost/container/node_allocator.hpp @@ -271,7 +271,7 @@ class node_allocator void allocate_many(size_type elem_size, std::size_t n_elements, multiallocation_chain &chain) { BOOST_CONTAINER_STATIC_ASSERT(( Version > 1 )); - dlmalloc::memchain ch; + dlmalloc::memchain ch; if(BOOST_UNLIKELY(!dlmalloc_heap().multialloc_nodes(n_elements, elem_size*sizeof(T), dlmalloc::default_contiguous, &ch))){ boost::container::throw_bad_alloc(); } @@ -286,7 +286,7 @@ class node_allocator void allocate_many(const size_type *elem_sizes, size_type n_elements, multiallocation_chain &chain) { BOOST_CONTAINER_STATIC_ASSERT(( Version > 1 )); - dlmalloc::memchain ch; + dlmalloc::memchain ch; dlmalloc_heap().multialloc_arrays(n_elements, elem_sizes, sizeof(T), dlmalloc::default_contiguous, &ch); if(BOOST_UNLIKELY(ch.empty())){ boost::container::throw_bad_alloc();