diff --git a/Util/StringUtil.h b/Util/StringUtil.h index 2b73b806c..29b125578 100644 --- a/Util/StringUtil.h +++ b/Util/StringUtil.h @@ -23,13 +23,13 @@ or see http://www.gnu.org/licenses/agpl.txt. #include "../typedefs.h" -#include #include #include #include #include +#include // precision: position after decimal point // length: maximum number of digits including comma and decimals @@ -163,14 +163,4 @@ inline bool StringStartsWith(const std::string & input, const std::string & pref return boost::starts_with(input, prefix); } -// Function returns a 'random' filename in temporary directors. -// May not be platform independent. -// inline void GetTemporaryFileName(std::string & filename) { -// char buffer[L_tmpnam]; -// char * retPointer = tmpnam (buffer); -// if(0 == retPointer) { -// ERR("Could not create temporary file name"); -// filename = buffer; -// } - #endif /* STRINGUTIL_H_ */