From 4253d5b922f43397efcb0672af0196e7a2f38d7f Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Sat, 25 Dec 2021 18:38:16 +0100 Subject: [PATCH] Remove redundant usage of endl in main.cpp --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index e25f8d6..cb3e783 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -42,7 +42,7 @@ int main(int argc, char* argv[]) { } else if (currentArg == Argument("buildInfo")) { cout << Yerbacon::getBuildInfo(); } else goto invalid_argument; - cout << endl; exit(EXIT_SUCCESS); + cout << '\n'; exit(EXIT_SUCCESS); } else invalid_argument: Yerbacon::exit({"\"", currentArg.data(), "\" is not a valid argument."}); } }