mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
fix code-style
This commit is contained in:
parent
f38fccc20a
commit
7e8f86a808
3 changed files with 3 additions and 4 deletions
|
@ -233,7 +233,7 @@ HostDmaRam::HostDmaRamAllocator::~HostDmaRamAllocator()
|
|||
try {
|
||||
auto translation = mm.getTranslationFromProcess(getAddrSpaceId());
|
||||
baseVirt = reinterpret_cast<void*>(translation.getLocalAddr(0));
|
||||
} catch(const std::out_of_range&) {
|
||||
} catch (const std::out_of_range&) {
|
||||
/* Not mapped, nothing to do */
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -167,7 +167,7 @@ MemoryManager::pathCheck(const MemoryGraph::Path &path)
|
|||
auto mapping = memoryGraph.getEdge(mappingId);
|
||||
try {
|
||||
translation += getTranslationFromMapping(*mapping);
|
||||
} catch(const InvalidTranslation&) {
|
||||
} catch (const InvalidTranslation&) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -79,8 +79,7 @@ int Tool::run()
|
|||
logger->info(CLR_GRN("Goodbye!"));
|
||||
|
||||
return ret;
|
||||
}
|
||||
catch (std::runtime_error &e) {
|
||||
} catch (const std::runtime_error &e) {
|
||||
logger->error("{}", e.what());
|
||||
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Reference in a new issue