aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/util
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-17 17:15:53 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-17 17:15:53 +0200
commita2c719948ff8af9abe267c4d1c9b16cd1e2fb317 (patch)
treeb2509bc9d435e7efc0afdf99f82a8b483f65758f /src/crepe/util
parent9fd3bdca9de2d37b63e1646b22d32b0b182f01ee (diff)
`make format`
Diffstat (limited to 'src/crepe/util')
-rw-r--r--src/crepe/util/fmt.cpp5
-rw-r--r--src/crepe/util/fmt.h2
-rw-r--r--src/crepe/util/log.cpp3
3 files changed, 4 insertions, 6 deletions
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 <string>
-#include <cstdio>
#include <cstdarg>
+#include <cstdio>
+#include <string>
#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 <cstdlib>
#include <string>
-#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);
}
-