we sexy man
parent
a555b53a61
commit
1ada8d3912
|
@ -180,7 +180,6 @@ namespace blt
|
||||||
|
|
||||||
explicit scoped_buffer(size_t size): _size(size)
|
explicit scoped_buffer(size_t size): _size(size)
|
||||||
{
|
{
|
||||||
BLT_ASSERT(size >= 0);
|
|
||||||
if (size > 0)
|
if (size > 0)
|
||||||
_buffer = new T[size];
|
_buffer = new T[size];
|
||||||
else
|
else
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
|
|
||||||
namespace blt::system
|
namespace blt::system
|
||||||
{
|
{
|
||||||
|
|
||||||
static inline std::string ensureHasDigits(int current, int digits)
|
static inline std::string ensureHasDigits(int current, int digits)
|
||||||
{
|
{
|
||||||
std::string asString = std::to_string(current);
|
std::string asString = std::to_string(current);
|
||||||
|
|
Loading…
Reference in New Issue