mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-03 21:30:11 -05:00
fs_stat.hpp
This commit is contained in:
parent
1bc965d4a6
commit
56e6ec4eec
2 changed files with 14 additions and 0 deletions
13
src/die.hpp
Normal file
13
src/die.hpp
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#pragma once
|
||||
|
||||
#include "fmt/core.h"
|
||||
|
||||
[[noreturn]]
|
||||
static
|
||||
inline
|
||||
void
|
||||
die(std::string_view msg_)
|
||||
{
|
||||
fmt::println(stderr,"FATAL: {}",msg_);
|
||||
std::abort();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue