Skip to content
Snippets Groups Projects
Unverified Commit d1f5853d authored by Grigoris Pavlakis's avatar Grigoris Pavlakis
Browse files

Fix clang-tidy

parent 19ad2ce2
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ bool ParameterService::addNewParameter(uint8_t ptc, uint8_t pfc, uint32_t initia ...@@ -14,7 +14,7 @@ bool ParameterService::addNewParameter(uint8_t ptc, uint8_t pfc, uint32_t initia
paramsList.insert(std::make_pair(paramsList.size(), param)); paramsList.insert(std::make_pair(paramsList.size(), param));
return true; return true;
} }
catch (etl::map_full) { catch (etl::map_full &mapFull) {
return false; return false;
} }
} }
...@@ -49,7 +49,7 @@ void ParameterService::reportParameterIds(Message& paramIds) { ...@@ -49,7 +49,7 @@ void ParameterService::reportParameterIds(Message& paramIds) {
validParams.push_back(p); validParams.push_back(p);
validIds++; validIds++;
} }
catch (etl::map_out_of_bounds) { catch (etl::map_out_of_bounds &mapOutOfBounds) {
ErrorHandler::reportError(paramIds, ErrorHandler::ExecutionStartErrorType::UnknownExecutionStartError); ErrorHandler::reportError(paramIds, ErrorHandler::ExecutionStartErrorType::UnknownExecutionStartError);
continue; // generate failed start of execution notification & ignore continue; // generate failed start of execution notification & ignore
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment