Squashed 'deps/nostalgia/' changes from 26fe266b..0de428a2
0de428a2 [studio/applib] Cleanup 8a52df4f [nostalgia/gfx] More cleanup efec6eb3 [nostalgia/gfx/studio/palette] Add RGB key shortcuts for focusing color channels 56eeb249 [nostalgia/gfx/opengl] More cleanup ae81f6b3 [ox/std] Make Span::operator[] const c1108301 [nostalgia/gfx] Cleanup 83fbe6ac [keel,turbine,studio] Fix some install mistakes 80b45283 [nostalgia/gfx] Cleanup 0fa39433 [nostalgia] Add release note about Mac menubar using Cmd cae75350 [nostalgia] Fix typos in release notes df878323 [studio] Add build date to About d585794c [nostalgia/gfx/studio/tilesheet] Fix Insert tile command 20965854 [nostalgia/gfx/studio/tilesheet] Cleanup 02383a4a [ox/std] Cleanup 185a7628 [nostalgia] Make pkg-dmg delete bundle after archive created b722b4f7 [nostalgia] Update release notes 459ab5aa [studio] Remove ability to re-order Editor tabs 565f621c [nostalgia/gfx/studio/tilesheet] Fix Delete Tile functionality 9589ca91 [keel] Cleanup 164db500 [keel] Cleanup cbfb167d [nostalgia] Remove unused project directory e7b83be8 [nostalgia] Update release notes 649da5fc [nostalgia/sample_project] Delete Scenes directory aa095f76 [studio] Make Delete key initiate deletion of selected directory bb99c99f [studio] Make deleting a directory close files in that directory 7f0dcdd2 [nostalgia/gfx/studio/tilesheet] Cleanup 6029ad5d [nostalgia/studio] Add command for bundling Mac app git-subtree-dir: deps/nostalgia git-subtree-split: 0de428a2e588d3360b98aa7e00c2498d5a54019b
This commit is contained in:
7
deps/ox/src/ox/std/span.hpp
vendored
7
deps/ox/src/ox/std/span.hpp
vendored
@ -146,12 +146,7 @@ class Span {
|
||||
return iterator<const T&, const T*, true>(m_items, MaxValue<size_type>, m_size);
|
||||
}
|
||||
|
||||
constexpr T &operator[](std::size_t i) noexcept {
|
||||
boundsCheck(__FILE__, __LINE__, i, size(), "Span access overflow");
|
||||
return m_items[i];
|
||||
}
|
||||
|
||||
constexpr T const&operator[](std::size_t i) const noexcept {
|
||||
constexpr T &operator[](std::size_t i) const noexcept {
|
||||
boundsCheck(__FILE__, __LINE__, i, size(), "Span access overflow");
|
||||
return m_items[i];
|
||||
}
|
||||
|
8
deps/ox/src/ox/std/string.hpp
vendored
8
deps/ox/src/ox/std/string.hpp
vendored
@ -213,22 +213,22 @@ class BasicString {
|
||||
|
||||
[[nodiscard]]
|
||||
constexpr const char *c_str() const noexcept {
|
||||
return static_cast<const char*>(m_buff.data());
|
||||
return m_buff.data();
|
||||
}
|
||||
|
||||
[[nodiscard]]
|
||||
inline explicit operator const char*() const {
|
||||
constexpr explicit operator const char*() const {
|
||||
return c_str();
|
||||
}
|
||||
|
||||
#if __has_include(<string>)
|
||||
[[nodiscard]]
|
||||
inline std::string toStdString() const {
|
||||
std::string toStdString() const {
|
||||
return c_str();
|
||||
}
|
||||
|
||||
[[nodiscard]]
|
||||
inline explicit operator std::string() const {
|
||||
explicit operator std::string() const {
|
||||
return c_str();
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user