diff --git a/CMakeLists.txt b/CMakeLists.txt index a34f5a7..a7ad98b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.5) include(cmake/color.cmake) -set(BLT_VERSION 0.14.14) +set(BLT_VERSION 0.14.15) set(BLT_TEST_VERSION 0.0.1) set(BLT_TARGET BLT) diff --git a/include/blt/std/format.h b/include/blt/std/format.h index d0a6e8a..a22b517 100644 --- a/include/blt/std/format.h +++ b/include/blt/std/format.h @@ -39,7 +39,8 @@ namespace blt::string return ret; } - template + // negative decimal places will not round. + template static inline std::string fromBytes(unsigned long bytes) { if (bytes > 1073741824)