Core/RefCounted: Remove persistent boolean

Former-commit-id: b5681c26fc30db38b94f9c1ecc9c12ee699af767 [formerly aeebf599245261644fd5fb54fe9f64067a63afc9]
Former-commit-id: f7bcc658c93cc3977ffa91a617b7ca4d463b4aca
This commit is contained in:
Lynix
2016-08-02 12:52:49 +02:00
parent 2674657d02
commit b7a08a6aa7
28 changed files with 4 additions and 110 deletions

View File

@@ -11,8 +11,6 @@ namespace Nz
BoxGeomRef BoxGeom::New(Args&&... args)
{
std::unique_ptr<BoxGeom> object(new BoxGeom(std::forward<Args>(args)...));
object->SetPersistent(false);
return object.release();
}
@@ -20,8 +18,6 @@ namespace Nz
CapsuleGeomRef CapsuleGeom::New(Args&&... args)
{
std::unique_ptr<CapsuleGeom> object(new CapsuleGeom(std::forward<Args>(args)...));
object->SetPersistent(false);
return object.release();
}
@@ -29,8 +25,6 @@ namespace Nz
CompoundGeomRef CompoundGeom::New(Args&&... args)
{
std::unique_ptr<CompoundGeom> object(new CompoundGeom(std::forward<Args>(args)...));
object->SetPersistent(false);
return object.release();
}
@@ -38,8 +32,6 @@ namespace Nz
ConeGeomRef ConeGeom::New(Args&&... args)
{
std::unique_ptr<ConeGeom> object(new ConeGeom(std::forward<Args>(args)...));
object->SetPersistent(false);
return object.release();
}
@@ -47,8 +39,6 @@ namespace Nz
ConvexHullGeomRef ConvexHullGeom::New(Args&&... args)
{
std::unique_ptr<ConvexHullGeom> object(new ConvexHullGeom(std::forward<Args>(args)...));
object->SetPersistent(false);
return object.release();
}
@@ -56,8 +46,6 @@ namespace Nz
CylinderGeomRef CylinderGeom::New(Args&&... args)
{
std::unique_ptr<CylinderGeom> object(new CylinderGeom(std::forward<Args>(args)...));
object->SetPersistent(false);
return object.release();
}
@@ -65,8 +53,6 @@ namespace Nz
NullGeomRef NullGeom::New(Args&&... args)
{
std::unique_ptr<NullGeom> object(new NullGeom(std::forward<Args>(args)...));
object->SetPersistent(false);
return object.release();
}
@@ -74,8 +60,6 @@ namespace Nz
SphereGeomRef SphereGeom::New(Args&&... args)
{
std::unique_ptr<SphereGeom> object(new SphereGeom(std::forward<Args>(args)...));
object->SetPersistent(false);
return object.release();
}
}