Fix warnings about unqualified calls in `buildaction.cpp`
This commit is contained in:
parent
9702d4f207
commit
08af21ddb5
|
@ -131,7 +131,7 @@ typename InternalBuildAction::InitReturnType InternalBuildAction::init(
|
||||||
{
|
{
|
||||||
InitReturnType configLock;
|
InitReturnType configLock;
|
||||||
if (auto error = validateParameter(requiredDatabases, requiredParameters); !error.empty()) {
|
if (auto error = validateParameter(requiredDatabases, requiredParameters); !error.empty()) {
|
||||||
reportError(move(error));
|
reportError(std::move(error));
|
||||||
return configLock;
|
return configLock;
|
||||||
}
|
}
|
||||||
switch (access) {
|
switch (access) {
|
||||||
|
@ -144,7 +144,7 @@ typename InternalBuildAction::InitReturnType InternalBuildAction::init(
|
||||||
}
|
}
|
||||||
if (auto error = findDatabases(); !error.empty()) {
|
if (auto error = findDatabases(); !error.empty()) {
|
||||||
configLock = monostate();
|
configLock = monostate();
|
||||||
reportError(move(error));
|
reportError(std::move(error));
|
||||||
return configLock;
|
return configLock;
|
||||||
}
|
}
|
||||||
return configLock;
|
return configLock;
|
||||||
|
@ -407,7 +407,7 @@ template <typename InternalBuildActionType> void BuildAction::post()
|
||||||
template <typename Callback> void BuildAction::post(Callback &&codeToRun)
|
template <typename Callback> void BuildAction::post(Callback &&codeToRun)
|
||||||
{
|
{
|
||||||
assert(m_setup);
|
assert(m_setup);
|
||||||
boost::asio::post(m_setup->building.ioContext.get_executor(), forward<Callback>(codeToRun));
|
boost::asio::post(m_setup->building.ioContext.get_executor(), std::forward<Callback>(codeToRun));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@ -468,7 +468,7 @@ void BuildServiceCleanup::run()
|
||||||
{
|
{
|
||||||
// validate parameter
|
// validate parameter
|
||||||
if (auto error = validateParameter(RequiredDatabases::None, RequiredParameters::None); !error.empty()) {
|
if (auto error = validateParameter(RequiredDatabases::None, RequiredParameters::None); !error.empty()) {
|
||||||
reportError(move(error));
|
reportError(std::move(error));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -509,7 +509,7 @@ void DummyBuildAction::run()
|
||||||
{
|
{
|
||||||
// validate parameter
|
// validate parameter
|
||||||
if (auto error = validateParameter(RequiredDatabases::None, RequiredParameters::None); !error.empty()) {
|
if (auto error = validateParameter(RequiredDatabases::None, RequiredParameters::None); !error.empty()) {
|
||||||
reportError(move(error));
|
reportError(std::move(error));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (m_buildAction->directory.empty()) {
|
if (m_buildAction->directory.empty()) {
|
||||||
|
|
Loading…
Reference in New Issue