🧹 apply clang-format

This commit is contained in:
Vladislav Nepogodin 2022-12-31 01:07:55 +04:00
parent b808af2f3b
commit b412bf41ba
No known key found for this signature in database
GPG Key ID: B62C3D10C54D5DA9
2 changed files with 4 additions and 2 deletions

View File

@ -8,6 +8,7 @@
namespace utils {
/* clang-format off */
namespace {
static uint64_t xgetbv(void) noexcept {
@ -107,6 +108,7 @@ static int32_t get_cpu_features() noexcept {
}
} // namespace
/* clang-format on */
auto get_isa_levels() noexcept -> std::vector<std::string> {
std::vector<std::string> supported_isa_levels;

View File

@ -1046,8 +1046,8 @@ void mount_opts(bool force) noexcept {
// If mount options selected, confirm choice
if (!mount_opts_info.empty()) {
auto confirm_text = Container::Vertical({
Renderer([] { return paragraphAlignLeft("Confirm the following mount options:"); }),
Renderer([&] { return text(mount_opts_info) | dim; }),
Renderer([] { return paragraphAlignLeft("Confirm the following mount options:"); }),
Renderer([&] { return text(mount_opts_info) | dim; }),
});
const auto& do_mount = detail::yesno_widget(confirm_text, size(HEIGHT, LESS_THAN, 10) | size(WIDTH, LESS_THAN, 75));
/* clang-format off */