Skip to content

Commit

Permalink
Fix empty()
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandreichweinbmw committed Feb 4, 2025
1 parent 75024d9 commit df59e64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/etl/span.h
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ namespace etl
//*************************************************************************
ETL_NODISCARD ETL_CONSTEXPR bool empty() const ETL_NOEXCEPT
{
return false;
return Extent == 0;
}

//*************************************************************************
Expand Down

0 comments on commit df59e64

Please sign in to comment.