Skip to content

Commit

Permalink
Fix #67: Use data() naming everywhere instead of value_ptr()
Browse files Browse the repository at this point in the history
  • Loading branch information
spnda committed Aug 16, 2024
1 parent 19ed25f commit 884d231
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/fastgltf/math.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -480,10 +480,10 @@ namespace fastgltf::math {
return (*this)[3];
}

[[nodiscard]] constexpr auto value_ptr() noexcept {
[[nodiscard]] constexpr auto data() noexcept {
return _data.data();
}
[[nodiscard]] constexpr auto value_ptr() const noexcept {
[[nodiscard]] constexpr auto data() const noexcept {
return _data.data();
}

Expand Down

0 comments on commit 884d231

Please sign in to comment.