@@ -115,7 +115,7 @@ class MessageResource : public FairMQMemoryResource
115115// A spectator pmr memory resource which only watches the memory of the underlying buffer, does not
116116// carry out real allocation. It owns the underlying buffer which is destroyed on deallocation.
117117template <typename BufferType>
118- class SpectatorMemoryResource : public boost ::container ::pmr::memory_resource
118+ class SpectatorMemoryResource : public fair ::mq ::pmr::memory_resource
119119{
120120 public:
121121 using buffer_type = BufferType;
@@ -183,10 +183,10 @@ class SpectatorMemoryResource : public boost::container::pmr::memory_resource
183183// This in general (as in STL) is a bad idea, but here it is safe to inherit from an allocator since we
184184// have no additional data and only override some methods so we don't get into slicing and other problems.
185185template <typename T>
186- class SpectatorAllocator : public boost ::container ::pmr::polymorphic_allocator<T>
186+ class SpectatorAllocator : public fair ::mq ::pmr::polymorphic_allocator<T>
187187{
188188 public:
189- using boost::container ::pmr::polymorphic_allocator<T>::polymorphic_allocator;
189+ using fair::mq ::pmr::polymorphic_allocator<T>::polymorphic_allocator;
190190 using propagate_on_container_move_assignment = std::true_type;
191191
192192 // skip default construction of empty elements
@@ -243,7 +243,7 @@ class OwningMessageSpectatorAllocator
243243 return OwningMessageSpectatorAllocator ();
244244 }
245245
246- boost::container ::pmr::memory_resource* resource () { return &mResource ; }
246+ fair::mq ::pmr::memory_resource* resource () { return &mResource ; }
247247
248248 // skip default construction of empty elements
249249 // this is important for two reasons: one: it allows us to adopt an existing buffer (e.g. incoming message) and
@@ -269,14 +269,14 @@ class OwningMessageSpectatorAllocator
269269
270270// The NoConstructAllocator behaves like the normal pmr vector but does not call constructors / destructors
271271template <typename T>
272- class NoConstructAllocator : public boost ::container ::pmr::polymorphic_allocator<T>
272+ class NoConstructAllocator : public fair ::mq ::pmr::polymorphic_allocator<T>
273273{
274274 public:
275- using boost::container ::pmr::polymorphic_allocator<T>::polymorphic_allocator;
275+ using fair::mq ::pmr::polymorphic_allocator<T>::polymorphic_allocator;
276276 using propagate_on_container_move_assignment = std::true_type;
277277
278278 template <typename ... Args>
279- NoConstructAllocator (Args&&... args) : boost::container ::pmr::polymorphic_allocator<T>(std::forward<Args>(args)...)
279+ NoConstructAllocator (Args&&... args) : fair::mq ::pmr::polymorphic_allocator<T>(std::forward<Args>(args)...)
280280 {
281281 }
282282
@@ -302,9 +302,9 @@ class NoConstructAllocator : public boost::container::pmr::polymorphic_allocator
302302// __________________________________________________________________________________________________
303303
304304using ByteSpectatorAllocator = SpectatorAllocator<std::byte>;
305- using BytePmrAllocator = boost::container ::pmr::polymorphic_allocator<std::byte>;
305+ using BytePmrAllocator = fair::mq ::pmr::polymorphic_allocator<std::byte>;
306306template <class T >
307- using vector = std::vector<T, o2 ::pmr::polymorphic_allocator<T>>;
307+ using vector = std::vector<T, fair::mq ::pmr::polymorphic_allocator<T>>;
308308
309309// __________________________________________________________________________________________________
310310// / Return a std::vector spanned over the contents of the message, takes ownership of the message
0 commit comments