From 1ada8d391227b85d5ef7ee79a9bbf484e606bc13 Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Wed, 8 Nov 2023 18:50:16 -0500 Subject: [PATCH] we sexy man --- include/blt/std/memory.h | 1 - include/blt/std/time.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/include/blt/std/memory.h b/include/blt/std/memory.h index 37a6365..fea8c11 100755 --- a/include/blt/std/memory.h +++ b/include/blt/std/memory.h @@ -180,7 +180,6 @@ namespace blt explicit scoped_buffer(size_t size): _size(size) { - BLT_ASSERT(size >= 0); if (size > 0) _buffer = new T[size]; else diff --git a/include/blt/std/time.h b/include/blt/std/time.h index 970294d..8a43163 100755 --- a/include/blt/std/time.h +++ b/include/blt/std/time.h @@ -13,6 +13,7 @@ namespace blt::system { + static inline std::string ensureHasDigits(int current, int digits) { std::string asString = std::to_string(current);