mirror of
https://codeberg.org/vyn/mirai.git
synced 2025-07-03 01:33:19 +00:00
Use C++23
This commit is contained in:
parent
a15c23bb21
commit
668d1df06f
6 changed files with 13 additions and 34 deletions
|
@ -27,6 +27,7 @@
|
|||
#include <memory>
|
||||
#include <optional>
|
||||
#include <ostream>
|
||||
#include <print>
|
||||
#include <ranges>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
@ -50,7 +51,7 @@ AppWindowBackend::AppWindowBackend(mirai::Mirai *miraiInstance)
|
|||
const auto palettePath = std::string(getenv("HOME")) + "/.config/evalyte/theme.json";
|
||||
const auto palette = selenite::parseJson(palettePath);
|
||||
if (palette.has_value()) {
|
||||
std::cerr << "Warning, no " << palettePath << " found" << std::endl;
|
||||
std::println(std::cerr, "Warning, no {} found", palettePath);
|
||||
setSelenitePalette(mainWindow_->global<ui::Palette>(), palette.value());
|
||||
setSelenitePalette(settingsWindow_->global<ui::Palette>(), palette.value());
|
||||
setSelenitePalette(addSourceWindow_->global<ui::Palette>(), palette.value());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue