From c1e625e0ef5da1b14e6873fd48563ecfb094826e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domagoj=20=C5=A0ari=C4=87?= Date: Tue, 28 May 2024 19:09:19 +0200 Subject: [PATCH] Naming conventon fixes. --- include/psi/vm/vector.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/psi/vm/vector.hpp b/include/psi/vm/vector.hpp index 6cdabdc..3b3d12b 100644 --- a/include/psi/vm/vector.hpp +++ b/include/psi/vm/vector.hpp @@ -358,7 +358,7 @@ struct header_info static constexpr header_info make( std::uint8_t const extra_alignment = 1 ) noexcept { return { sizeof( T ), extra_alignment }; } template - header_info addHeader() const noexcept // support chained headers (class hierarchies) + header_info add_header() const noexcept // support chained headers (class hierarchies) { auto const aligned_size{ align_up( this->header_size, alignof( AdditionalHeader ) ) }; return @@ -369,7 +369,7 @@ struct header_info } template - header_info withAlignmentFor() const noexcept + header_info with_alignment_for() const noexcept { BOOST_ASSUME( data_extra_alignment >= 1 ); return { this->header_size, std::max({ this->data_extra_alignment, alignof( T )... }) }; @@ -440,8 +440,8 @@ class vector storage_ ( hdr_info - . addHeader() - .template withAlignmentFor() + . add_header() + .template with_alignment_for() . final_header_size() ) {}