From ac54a97a3fb77323a1e8d4ad78b538b70e44b85c Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Sat, 25 Jan 2025 07:34:17 -0500 Subject: [PATCH] chore: rm use of "Arch" from "String" --- src/lib/base/String.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/base/String.cpp b/src/lib/base/String.cpp index 003071ca5..2dc709e15 100644 --- a/src/lib/base/String.cpp +++ b/src/lib/base/String.cpp @@ -16,7 +16,6 @@ */ #include "base/String.h" -#include "arch/Arch.h" #include "common/stdvector.h" #include @@ -132,7 +131,7 @@ std::string sprintf(const char *fmt, ...) // try printing into the buffer va_list args; va_start(args, fmt); - int n = ARCH->vsnprintf(buffer, len, fmt, args); + int n = vsnprintf(buffer, len, fmt, args); va_end(args); // if the buffer wasn't big enough then make it bigger and try again