Make Yerbacon::exit a static function
This commit is contained in:
parent
8ab826bf68
commit
dc21af192b
|
@ -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;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue