lfreist / hwinfo

cross platform C++ library for hardware information (CPU, RAM, GPU, ...)
MIT License
487 stars 88 forks source link

void strip(std::string& input) cannot handle strings containing only blanks #113

Open mario-baumann-cosin-eu opened 1 month ago

mario-baumann-cosin-eu commented 1 month ago

fixed via: diff -ruN src.orig/include/hwinfo/utils/stringutils.h src/include/hwinfo/utils/stringutils.h --- src.orig/include/hwinfo/utils/stringutils.h 2024-10-16 13:54:50.000000000 +0100 +++ src/include/hwinfo/utils/stringutils.h 2024-10-17 12:27:31.000000000 +0100 @@ -68,6 +68,10 @@ } start_index++; }