Remove dead code

This commit is contained in:
Dennis Luxen 2013-08-05 17:35:16 +02:00
parent c0db8b71dd
commit b591aa013d

View File

@ -23,13 +23,13 @@ or see http://www.gnu.org/licenses/agpl.txt.
#include "../typedefs.h" #include "../typedefs.h"
#include <string>
#include <boost/algorithm/string.hpp> #include <boost/algorithm/string.hpp>
#include <boost/spirit/include/karma.hpp> #include <boost/spirit/include/karma.hpp>
#include <boost/spirit/include/qi.hpp> #include <boost/spirit/include/qi.hpp>
#include <cstdio> #include <cstdio>
#include <string>
// precision: position after decimal point // precision: position after decimal point
// length: maximum number of digits including comma and decimals // 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); 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_ */ #endif /* STRINGUTIL_H_ */