Skip to content

Commit

Permalink
fixes #2782: Build error message
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Nov 19, 2016
1 parent 5e3381b commit a16b143
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/Mod/PartDesign/Gui/Command.cpp
Expand Up @@ -892,7 +892,7 @@ void CmdPartDesignPad::activated(int iMsg)
return;

Gui::Command* cmd = this;
auto worker = [cmd](Part::Feature* profile, std::string FeatName) {
auto worker = [this, cmd](Part::Feature* profile, std::string FeatName) {

if (FeatName.empty()) return;

Expand Down Expand Up @@ -950,7 +950,7 @@ void CmdPartDesignPocket::activated(int iMsg)
return;

Gui::Command* cmd = this;
auto worker = [cmd](Part::Feature* sketch, std::string FeatName) {
auto worker = [this, cmd](Part::Feature* sketch, std::string FeatName) {

if (FeatName.empty()) return;

Expand Down Expand Up @@ -996,7 +996,7 @@ void CmdPartDesignRevolution::activated(int iMsg)
return;

Gui::Command* cmd = this;
auto worker = [cmd](Part::Feature* sketch, std::string FeatName) {
auto worker = [this, cmd](Part::Feature* sketch, std::string FeatName) {

if (FeatName.empty()) return;

Expand Down Expand Up @@ -1047,7 +1047,7 @@ void CmdPartDesignGroove::activated(int iMsg)
return;

Gui::Command* cmd = this;
auto worker = [cmd](Part::Feature* sketch, std::string FeatName) {
auto worker = [this, cmd](Part::Feature* sketch, std::string FeatName) {

if (FeatName.empty()) return;

Expand Down Expand Up @@ -1097,7 +1097,7 @@ void CmdPartDesignAdditivePipe::activated(int iMsg)
return;

Gui::Command* cmd = this;
auto worker = [cmd](Part::Feature* sketch, std::string FeatName) {
auto worker = [this, cmd](Part::Feature* sketch, std::string FeatName) {

if (FeatName.empty()) return;

Expand Down Expand Up @@ -1144,7 +1144,7 @@ void CmdPartDesignSubtractivePipe::activated(int iMsg)
return;

Gui::Command* cmd = this;
auto worker = [cmd](Part::Feature* sketch, std::string FeatName) {
auto worker = [this, cmd](Part::Feature* sketch, std::string FeatName) {

if (FeatName.empty()) return;

Expand Down Expand Up @@ -1191,7 +1191,7 @@ void CmdPartDesignAdditiveLoft::activated(int iMsg)
return;

Gui::Command* cmd = this;
auto worker = [cmd](Part::Feature* sketch, std::string FeatName) {
auto worker = [this, cmd](Part::Feature* sketch, std::string FeatName) {

if (FeatName.empty()) return;

Expand Down Expand Up @@ -1238,7 +1238,7 @@ void CmdPartDesignSubtractiveLoft::activated(int iMsg)
return;

Gui::Command* cmd = this;
auto worker = [cmd](Part::Feature* sketch, std::string FeatName) {
auto worker = [this, cmd](Part::Feature* sketch, std::string FeatName) {

if (FeatName.empty()) return;

Expand Down Expand Up @@ -1613,7 +1613,7 @@ void CmdPartDesignMirrored::activated(int iMsg)
{
Q_UNUSED(iMsg);
Gui::Command* cmd = this;
auto worker = [cmd](std::string FeatName, std::vector<App::DocumentObject*> features) {
auto worker = [this, cmd](std::string FeatName, std::vector<App::DocumentObject*> features) {

if (features.empty())
return;
Expand Down Expand Up @@ -1667,7 +1667,7 @@ void CmdPartDesignLinearPattern::activated(int iMsg)
{
Q_UNUSED(iMsg);
Gui::Command* cmd = this;
auto worker = [cmd](std::string FeatName, std::vector<App::DocumentObject*> features) {
auto worker = [this, cmd](std::string FeatName, std::vector<App::DocumentObject*> features) {

if (features.empty())
return;
Expand Down Expand Up @@ -1723,7 +1723,7 @@ void CmdPartDesignPolarPattern::activated(int iMsg)
{
Q_UNUSED(iMsg);
Gui::Command* cmd = this;
auto worker = [cmd](std::string FeatName, std::vector<App::DocumentObject*> features) {
auto worker = [this, cmd](std::string FeatName, std::vector<App::DocumentObject*> features) {

if (features.empty())
return;
Expand Down Expand Up @@ -1780,7 +1780,7 @@ void CmdPartDesignScaled::activated(int iMsg)
{
Q_UNUSED(iMsg);
Gui::Command* cmd = this;
auto worker = [cmd](std::string FeatName, std::vector<App::DocumentObject*> features) {
auto worker = [this, cmd](std::string FeatName, std::vector<App::DocumentObject*> features) {

if (features.empty())
return;
Expand Down Expand Up @@ -1878,7 +1878,7 @@ void CmdPartDesignMultiTransform::activated(int iMsg)
} else {

Gui::Command* cmd = this;
auto worker = [cmd, pcActiveBody](std::string FeatName, std::vector<App::DocumentObject*> features) {
auto worker = [this, cmd, pcActiveBody](std::string FeatName, std::vector<App::DocumentObject*> features) {

if (features.empty())
return;
Expand Down

0 comments on commit a16b143

Please sign in to comment.