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);