Skip to content

Commit

Permalink
Fixed compilation errors and warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
psiha committed Jan 12, 2024
1 parent 0fc34e0 commit 5a899bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/mapped_view/mapped_view.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ basic_mapped_view<read_only>::expand( std::size_t const target_size, mapping & o
return err::success;
} // view::expand()

template class basic_mapped_view<false>;
template class basic_mapped_view<true >;

//------------------------------------------------------------------------------
} // namespace psi::vm
//------------------------------------------------------------------------------
2 changes: 1 addition & 1 deletion src/mapped_view/mapper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ struct mapper
std ::size_t desired_size
) noexcept;

static BOOST_ATTRIBUTES( BOOST_MINSIZE, BOOST_EXCEPTIONLESS )
static BOOST_ATTRIBUTES( BOOST_MINSIZE, BOOST_EXCEPTIONLESS, BOOST_RESTRICTED_FUNCTION_L1 )
void BOOST_CC_REG unmap( mapped_span view ) noexcept;

static void shrink( mapped_span view, std::size_t target_size ) noexcept;
Expand Down

0 comments on commit 5a899bc

Please sign in to comment.