get rid of all mysterious numbers that meant length of string literals
This commit is contained in:
@@ -26,6 +26,11 @@
|
||||
#include "window.h"
|
||||
#include "song.h"
|
||||
|
||||
template <size_t N> inline size_t static_strlen(const char (&)[N])
|
||||
{
|
||||
return N-1;
|
||||
}
|
||||
|
||||
void ToLower(std::string &);
|
||||
|
||||
int StrToInt(const std::string &);
|
||||
|
||||
Reference in New Issue
Block a user