mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-18 17:25:23 +00:00
More aurora::gx refactoring
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
namespace metaforce {
|
||||
template <class T, size_t N>
|
||||
void write_reserved_vector(const rstl::reserved_vector<T, N>& v, COutputStream& out) {
|
||||
out.Put(v.size());
|
||||
out.Put<u32>(v.size());
|
||||
for (const auto& t : v) {
|
||||
out.Put(t);
|
||||
}
|
||||
@@ -14,7 +14,7 @@ void write_reserved_vector(const rstl::reserved_vector<T, N>& v, COutputStream&
|
||||
|
||||
template <class T>
|
||||
void write_vector(const std::vector<T>& v, COutputStream& out) {
|
||||
out.Put(v.size());
|
||||
out.Put<u32>(v.size());
|
||||
for (const auto& t : v) {
|
||||
out.Put(t);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user