mirror of
https://github.com/CachyOS/New-Cli-Installer.git
synced 2025-02-03 06:27:14 +08:00
🧹 apply clang-format
This commit is contained in:
parent
b808af2f3b
commit
b412bf41ba
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
namespace utils {
|
namespace utils {
|
||||||
|
|
||||||
|
/* clang-format off */
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
static uint64_t xgetbv(void) noexcept {
|
static uint64_t xgetbv(void) noexcept {
|
||||||
@ -107,6 +108,7 @@ static int32_t get_cpu_features() noexcept {
|
|||||||
}
|
}
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
/* clang-format on */
|
||||||
|
|
||||||
auto get_isa_levels() noexcept -> std::vector<std::string> {
|
auto get_isa_levels() noexcept -> std::vector<std::string> {
|
||||||
std::vector<std::string> supported_isa_levels;
|
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 options selected, confirm choice
|
||||||
if (!mount_opts_info.empty()) {
|
if (!mount_opts_info.empty()) {
|
||||||
auto confirm_text = Container::Vertical({
|
auto confirm_text = Container::Vertical({
|
||||||
Renderer([] { return paragraphAlignLeft("Confirm the following mount options:"); }),
|
Renderer([] { return paragraphAlignLeft("Confirm the following mount options:"); }),
|
||||||
Renderer([&] { return text(mount_opts_info) | dim; }),
|
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));
|
const auto& do_mount = detail::yesno_widget(confirm_text, size(HEIGHT, LESS_THAN, 10) | size(WIDTH, LESS_THAN, 75));
|
||||||
/* clang-format off */
|
/* clang-format off */
|
||||||
|
Loading…
Reference in New Issue
Block a user