From 883789611c10e90e6f742e8521c4b686328763e1 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Thu, 27 Oct 2022 12:27:17 +0200 Subject: [PATCH] inlined h, pred, al accessors --- include/boost/unordered/detail/foa.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/boost/unordered/detail/foa.hpp b/include/boost/unordered/detail/foa.hpp index ec74aa5b..5f731494 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -1437,12 +1437,12 @@ private: table& x; }; - Hash& h(){return hash_base::get();} - const Hash& h()const{return hash_base::get();} - Pred& pred(){return pred_base::get();} - const Pred& pred()const{return pred_base::get();} - Allocator& al(){return allocator_base::get();} - const Allocator& al()const{return allocator_base::get();} + inline Hash& h(){return hash_base::get();} + inline const Hash& h()const{return hash_base::get();} + inline Pred& pred(){return pred_base::get();} + inline const Pred& pred()const{return pred_base::get();} + inline Allocator& al(){return allocator_base::get();} + inline const Allocator& al()const{return allocator_base::get();} arrays_type new_arrays(std::size_t n) {