Skip to content

Commit

Permalink
Removed ETL_CONSTEXPR from size()
Browse files Browse the repository at this point in the history
  • Loading branch information
John Wellbelove committed May 15, 2024
1 parent e3475be commit 1a09998
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/etl/basic_string.h
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ namespace etl
/// Gets the current size of the string.
///\return The current size of the string.
//*************************************************************************
ETL_CONSTEXPR size_type size() const
size_type size() const
{
return current_size;
}
Expand Down
2 changes: 1 addition & 1 deletion include/etl/vector.h
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,7 @@ namespace etl
/// Gets the current size of the vector.
///\return The current size of the vector.
//*************************************************************************
ETL_CONSTEXPR size_type size() const
size_type size() const
{
return size_t(p_end - p_buffer);
}
Expand Down

0 comments on commit 1a09998

Please sign in to comment.