Fix broken build

This commit is contained in:
outfoxxed 2023-09-20 22:55:16 -07:00
parent b935aafa32
commit d397453193
No known key found for this signature in database
GPG key ID: 4C88A185FB89301E
2 changed files with 12 additions and 11 deletions

18
flake.lock generated
View file

@ -9,11 +9,11 @@
"xdph": "xdph"
},
"locked": {
"lastModified": 1694613741,
"narHash": "sha256-8lsnX497CIKn0M2KatYtDKzRyccxQfEpuQkBO0+tKVY=",
"lastModified": 1695237968,
"narHash": "sha256-n0K0iiXCdbw3l5+YTMb7ESJQXnXYoVUIzeTbHo5D1rE=",
"owner": "hyprwm",
"repo": "Hyprland",
"rev": "84f8f4d77ddf4b6c772459584234e1f8f9d5f2ce",
"rev": "1925e64c21811ce76e5059d7a063f968c2d3e98c",
"type": "github"
},
"original": {
@ -49,11 +49,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1693844670,
"narHash": "sha256-t69F2nBB8DNQUWHD809oJZJVE+23XBrth4QZuVd6IE0=",
"lastModified": 1694767346,
"narHash": "sha256-5uH27SiVFUwsTsqC5rs3kS7pBoNhtoy9QfTP9BmknGk=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "3c15feef7770eb5500a4b8792623e2d6f598c9c1",
"rev": "ace5093e36ab1e95cb9463863491bee90d5a4183",
"type": "github"
},
"original": {
@ -118,11 +118,11 @@
]
},
"locked": {
"lastModified": 1694025408,
"narHash": "sha256-oJNhGfZH8Z2w3ztXdzsYVg32//cWEcPVDM3+tp/ZVfU=",
"lastModified": 1694628480,
"narHash": "sha256-Qg9hstRw0pvjGu5hStkr2UX1D73RYcQ9Ns/KnZMIm9w=",
"owner": "hyprwm",
"repo": "xdg-desktop-portal-hyprland",
"rev": "022469529c8bc95acf222dc5a62389b04c8b1205",
"rev": "8f45a6435069b9e24ebd3160eda736d7a391cbf2",
"type": "github"
},
"original": {

View file

@ -3,6 +3,7 @@
#include <hyprland/src/debug/Log.hpp>
template <typename... Args>
void hy3_log(LogLevel level, const std::string& fmt, Args&&... args) {
Debug::log(level, "[hy3] " + fmt, args...);
void hy3_log(LogLevel level, std::format_string<Args...> fmt, Args&&... args) {
auto msg = std::vformat(fmt.get(), std::make_format_args(args...));
Debug::log(level, "[hy3] {}", msg);
}