Fix Fixture:getShape. Resolves issue #1319.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2017-09-22 20:31:24 -03:00
parent 4ee85e1793
commit 8ea2f09a1c
4 changed files with 52 additions and 17 deletions
+2 -2
View File
@@ -38,7 +38,7 @@ namespace box2d
{
Shape::Shape()
: shape(NULL)
: shape(nullptr)
, own(false)
{
}
@@ -58,7 +58,7 @@ Shape::~Shape()
Memoizer::remove(shape);
delete shape;
}
shape = 0;
shape = nullptr;
}
Shape::Type Shape::getType() const