mirror of
https://github.com/hyprwm/hyprlock.git
synced 2024-11-16 23:05:58 +01:00
misc: fix warning about iso strings
This commit is contained in:
parent
f0bcadc6ad
commit
7d5cb1dbb3
1 changed files with 2 additions and 2 deletions
|
@ -889,7 +889,7 @@ void CHyprlock::attemptRestoreOnDeath() {
|
|||
// dirty hack
|
||||
uint64_t timeNowMs = std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now() - std::chrono::system_clock::from_time_t({0})).count();
|
||||
|
||||
constexpr char* LASTRESTARTPATH = "/tmp/hypr/.hyprlockrestart";
|
||||
constexpr const char* LASTRESTARTPATH = "/tmp/hypr/.hyprlockrestart";
|
||||
|
||||
if (std::filesystem::exists(LASTRESTARTPATH)) {
|
||||
std::ifstream ifs(LASTRESTARTPATH);
|
||||
|
|
Loading…
Reference in a new issue