aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/util
diff options
context:
space:
mode:
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);
}
-