Fix errors and warnings

Former-commit-id: 9f4fc78c16
This commit is contained in:
Henrique Gemignani Passos Lima
2022-10-11 18:37:27 +03:00
parent 45c469d8ee
commit 4f2a8704db
5 changed files with 11 additions and 8 deletions

View File

@@ -8,6 +8,7 @@
#include "Kyoto/Math/CVector3f.hpp"
#include "Kyoto/Particles/CParticleGen.hpp"
#include "Kyoto/TToken.hpp"
#include "Kyoto/CRandom16.hpp"
class CGenDescription;
class CModVectorElement;

View File

@@ -21,7 +21,6 @@ public:
auto_ptr(const auto_ptr& other) : x0_has(other.x0_has), x4_item(other.x4_item) {
other.x0_has = false;
}
// TODO check
auto_ptr& operator=(const auto_ptr& other) {
if (&other != this) {
if (x0_has) {