mirror of
https://github.com/falk-werner/webfuse
synced 2024-10-27 20:34:10 +00:00
15 lines
180 B
C++
15 lines
180 B
C++
#include "webfuse/utils/die_if.hpp"
|
|
#include <cstdlib>
|
|
|
|
namespace webfuse_test
|
|
{
|
|
|
|
void die_if(bool expression)
|
|
{
|
|
if (expression)
|
|
{
|
|
exit(EXIT_FAILURE);
|
|
}
|
|
}
|
|
|
|
} |