mirror of
https://github.com/CachyOS/New-Cli-Installer.git
synced 2025-01-23 22:42:31 +08:00
🧹 apply clang-format
This commit is contained in:
parent
b808af2f3b
commit
b412bf41ba
@ -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;
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user