Make Yerbacon::exit a static function

This commit is contained in:
Username404 2021-10-07 22:01:23 +02:00
parent 8ab826bf68
commit dc21af192b
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
namespace Yerbacon {
consteval const char* getVersion() noexcept { return YBCON_VERSION; }
inline void exit(const std::initializer_list<const char*> reason) {
static void exit(const std::initializer_list<const char*> reason) {
std::for_each(reason.begin(), reason.end(), [](const char* current_string){
std::cout << current_string;
});