renamed: Util/StringUtil.h -> Util/string_util.hpp

This commit is contained in:
Dennis Luxen
2015-01-05 10:22:11 +01:00
parent d3f5db576a
commit fe1f11b071
10 changed files with 12 additions and 13 deletions
+4 -4
View File
@@ -25,8 +25,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef STRINGUTIL_H
#define STRINGUTIL_H
#ifndef STRING_UTIL_HPP
#define STRING_UTIL_HPP
#include <boost/algorithm/string.hpp>
@@ -154,7 +154,7 @@ inline std::string GetRandomString()
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"abcdefghijklmnopqrstuvwxyz";
for (int i = 0; i < 127; ++i)
for (std::size_t i = 0; i < 127; ++i)
{
s[i] = alphanum[rand() % (sizeof(alphanum) - 1)];
}
@@ -162,4 +162,4 @@ inline std::string GetRandomString()
return s;
}
#endif // STRINGUTIL_H
#endif // STRING_UTIL_HPP