mirror of
https://github.com/glest/glest-source.git
synced 2025-08-18 22:21:18 +02:00
- memory leak fixes
This commit is contained in:
@@ -437,6 +437,7 @@ public:
|
||||
void cleanupParticleSystems(vector<ParticleSystem *> &particleSystems);
|
||||
void cleanupUnitParticleSystems(vector<UnitParticleSystem *> &particleSystems);
|
||||
int findParticleSystems(ParticleSystem *psFind, const vector<ParticleSystem *> &particleSystems) const;
|
||||
bool validateParticleSystemStillExists(ParticleSystem * particleSystem) const;
|
||||
};
|
||||
|
||||
}}//end namespace
|
||||
|
@@ -146,7 +146,7 @@ public:
|
||||
}
|
||||
|
||||
std::string getString() const {
|
||||
std::ostringstream streamOut;
|
||||
std::ostringstream streamOut(std::ostringstream::out);
|
||||
streamOut << "x [" << x << "] y [" << y << "]";
|
||||
return streamOut.str();
|
||||
}
|
||||
@@ -330,7 +330,7 @@ public:
|
||||
}
|
||||
|
||||
std::string getString() const {
|
||||
std::ostringstream streamOut;
|
||||
std::ostringstream streamOut(std::ostringstream::out);
|
||||
streamOut << "x [" << x << "] y [" << y << "] z [" << z << "]";
|
||||
return streamOut.str();
|
||||
}
|
||||
@@ -473,7 +473,7 @@ public:
|
||||
}
|
||||
|
||||
std::string getString() const {
|
||||
std::ostringstream streamOut;
|
||||
std::ostringstream streamOut(std::ostringstream::out);
|
||||
streamOut << "x [" << x << "] y [" << y << "] z [" << z << "] w [" << w << "]";
|
||||
return streamOut.str();
|
||||
}
|
||||
|
Reference in New Issue
Block a user