fix -Wextra in PartDesign

This commit is contained in:
wmayer
2016-09-22 18:34:56 +02:00
parent 15d7ae5e2c
commit 664cf65d26
40 changed files with 133 additions and 90 deletions

View File

@@ -213,7 +213,7 @@ bool Body::isAfterInsertPoint(App::DocumentObject* feature) {
}
}
const bool Body::isMemberOfMultiTransform(const App::DocumentObject* f)
bool Body::isMemberOfMultiTransform(const App::DocumentObject* f)
{
if (f == NULL)
return false;
@@ -224,7 +224,7 @@ const bool Body::isMemberOfMultiTransform(const App::DocumentObject* f)
static_cast<const PartDesign::Transformed*>(f)->Originals.getValues().empty());
}
const bool Body::isSolidFeature(const App::DocumentObject* f)
bool Body::isSolidFeature(const App::DocumentObject* f)
{
if (f == NULL)
return false;
@@ -236,7 +236,7 @@ const bool Body::isSolidFeature(const App::DocumentObject* f)
return false;//DeepSOIC: work-in-progress?
}
const bool Body::isAllowed(const App::DocumentObject* f)
bool Body::isAllowed(const App::DocumentObject* f)
{
if (f == NULL)
return false;