[libcalamares] Code-formatting Sync.*

This commit is contained in:
Adriaan de Groot 2019-06-20 13:53:02 +02:00
parent e59b3e8bf5
commit e6b55a1f70
2 changed files with 5 additions and 7 deletions

View File

@ -21,7 +21,8 @@
#include "utils/CalamaresUtilsSystem.h"
#include "utils/Logger.h"
void CalamaresUtils::Partition::sync()
void
CalamaresUtils::Partition::sync()
{
auto r = CalamaresUtils::System::runCommand( { "/sbin/udevadm", "settle" }, 10 );

View File

@ -37,13 +37,10 @@ void sync();
/** @brief RAII class for calling sync() */
struct Syncer
{
~Syncer()
{
sync();
}
~Syncer() { sync(); }
};
}
}
} // namespace Partition
} // namespace CalamaresUtils
#endif