Fix various compiler warnings

This commit is contained in:
Pieter Hijma
2024-06-27 20:45:29 +02:00
parent d50532d3e7
commit 2b48cda825
18 changed files with 36 additions and 29 deletions

View File

@@ -5,8 +5,8 @@
* *
* See LICENSE file for details about copyright. *
***************************************************************************/
#include <ostream>
#include <fstream>
#include <ostream>
#include <fstream>
#include "ASMTPart.h"
#include "CREATE.h"
@@ -126,7 +126,7 @@ void MbD::ASMTPart::createMbD(std::shared_ptr<System> mbdSys, std::shared_ptr<Un
if (isFixed) std::static_pointer_cast<Part>(mbdObject)->asFixed();
}
void MbD::ASMTPart::preMbDrunDragStep(std::shared_ptr<System> mbdSys, std::shared_ptr<Units> mbdUnits)
void MbD::ASMTPart::preMbDrunDragStep(std::shared_ptr<System> /*mbdSys*/, std::shared_ptr<Units> mbdUnits)
{
auto mbdPart = std::static_pointer_cast<Part>(mbdObject);
mbdPart->qX(rOcmO()->times(1.0 / mbdUnits->length));