[ox] Get building with devkitARM again
This commit is contained in:
4
deps/ox/src/ox/std/buildinfo.cpp
vendored
4
deps/ox/src/ox/std/buildinfo.cpp
vendored
@@ -8,8 +8,10 @@
|
||||
|
||||
namespace ox::buildinfo {
|
||||
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wunused-const-variable"
|
||||
#endif
|
||||
|
||||
#if defined(OX_USE_STDLIB)
|
||||
const bool UseStdLib = true;
|
||||
@@ -37,6 +39,8 @@ const bool BigEndian = false;
|
||||
const bool LittleEndian = true;
|
||||
#endif
|
||||
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
}
|
||||
|
2
deps/ox/src/ox/std/vector.hpp
vendored
2
deps/ox/src/ox/std/vector.hpp
vendored
@@ -174,7 +174,7 @@ const T &Vector<T>::back() const noexcept {
|
||||
template<typename T>
|
||||
std::size_t Vector<T>::size() const noexcept {
|
||||
return m_size;
|
||||
};
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
void Vector<T>::resize(std::size_t size) noexcept {
|
||||
|
Reference in New Issue
Block a user