Assembly: Compiler warning cleanup
This commit is contained in:
@@ -323,7 +323,7 @@ void AssemblyLink::synchronizeComponents()
|
||||
= srcLink->ElementList.getValues();
|
||||
const std::vector<App::DocumentObject*> newElements
|
||||
= link2->ElementList.getValues();
|
||||
for (int i = 0; i < srcElements.size(); ++i) {
|
||||
for (size_t i = 0; i < srcElements.size(); ++i) {
|
||||
objLinkMap[srcElements[i]] = newElements[i];
|
||||
}
|
||||
break;
|
||||
@@ -373,7 +373,7 @@ void AssemblyLink::synchronizeComponents()
|
||||
newLink->ElementCount.setValue(srcLink->ElementCount.getValue());
|
||||
const std::vector<App::DocumentObject*> srcElements = srcLink->ElementList.getValues();
|
||||
const std::vector<App::DocumentObject*> newElements = newLink->ElementList.getValues();
|
||||
for (int i = 0; i < srcElements.size(); ++i) {
|
||||
for (size_t i = 0; i < srcElements.size(); ++i) {
|
||||
auto* newObj = newElements[i];
|
||||
auto* srcObj = srcElements[i];
|
||||
if (newObj && srcObj) {
|
||||
|
||||
@@ -69,7 +69,7 @@ void TaskAssemblyMessages::updateToolTip(const QString& link)
|
||||
}
|
||||
}
|
||||
|
||||
void TaskAssemblyMessages::onLabelStatusLinkClicked(const QString& str)
|
||||
void TaskAssemblyMessages::onLabelStatusLinkClicked(const QString& /*str*/)
|
||||
{
|
||||
// The commands are not implemented yet since App is not reporting yet the solver's status
|
||||
/* if (str == QStringLiteral("#conflicting")) {
|
||||
|
||||
@@ -44,7 +44,7 @@ public:
|
||||
private:
|
||||
void onLabelStatusLinkClicked(const QString&) override;
|
||||
|
||||
void updateToolTip(const QString& link);
|
||||
void updateToolTip(const QString& link) override;
|
||||
|
||||
protected:
|
||||
ViewProviderAssembly* vp;
|
||||
|
||||
@@ -284,7 +284,6 @@ private:
|
||||
std::set<App::DocumentObject*>& visited
|
||||
);
|
||||
|
||||
TaskAssemblyMessages* taskSolver;
|
||||
boost::signals2::connection connectSolverUpdate;
|
||||
boost::signals2::scoped_connection m_preTransactionConn;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user