1
0
Fork 0

Apply suggestions from code review

Co-Authored-By: Ben <bene_thomas@web.de>
This commit is contained in:
Hamish Milne 2020-03-28 16:28:07 +00:00 committed by GitHub
parent bbf8e876ab
commit 26f9364062
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -31,11 +31,11 @@ public:
BufferMem() = default;
BufferMem(u32 size) : data(std::vector<u8>(size)) {}
virtual u8* GetPtr() {
u8* GetPtr() override {
return data.data();
}
virtual u32 GetSize() const {
u32 GetSize() const override {
return static_cast<u32>(data.size());
}

View File

@ -70,6 +70,7 @@ private:
void serialize(Archive& ar, const unsigned int) {
ar& pos;
ar& quat;
ar& color;
ar& tc0;
ar& tc1;
ar& tc0_w;