From a2c719948ff8af9abe267c4d1c9b16cd1e2fb317 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Thu, 17 Oct 2024 17:15:53 +0200 Subject: `make format` --- src/crepe/util/fmt.cpp | 5 ++--- src/crepe/util/fmt.h | 2 +- src/crepe/util/log.cpp | 3 +-- 3 files changed, 4 insertions(+), 6 deletions(-) (limited to 'src/crepe/util') diff --git a/src/crepe/util/fmt.cpp b/src/crepe/util/fmt.cpp index 3a43a6f..8ef1164 100644 --- a/src/crepe/util/fmt.cpp +++ b/src/crepe/util/fmt.cpp @@ -1,6 +1,6 @@ -#include -#include #include +#include +#include #include "fmt.h" @@ -31,4 +31,3 @@ string crepe::util::stringf(const char * fmt, ...) { va_end(args); return out; } - diff --git a/src/crepe/util/fmt.h b/src/crepe/util/fmt.h index 5c45703..44c426f 100644 --- a/src/crepe/util/fmt.h +++ b/src/crepe/util/fmt.h @@ -7,4 +7,4 @@ namespace crepe::util { std::string va_stringf(va_list args, const char * fmt); std::string stringf(const char * fmt, ...); -} +} // namespace crepe::util diff --git a/src/crepe/util/log.cpp b/src/crepe/util/log.cpp index b46620d..f012c67 100644 --- a/src/crepe/util/log.cpp +++ b/src/crepe/util/log.cpp @@ -3,8 +3,8 @@ #include #include -#include "log.h" #include "fmt.h" +#include "log.h" using namespace crepe::util; @@ -38,4 +38,3 @@ void crepe::util::logf(log_level level, const char * fmt, ...) { log(level, va_stringf(args, fmt)); va_end(args); } - -- cgit v1.2.3