mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Remove unused function
This commit is contained in:
parent
ac3dde1d98
commit
6be35cd4e7
|
@ -1,6 +1,5 @@
|
|||
#include <cmath>
|
||||
#include <cstring>
|
||||
#include <ctime>
|
||||
#include <base/system.h>
|
||||
|
||||
#include "sql_string_helpers.h"
|
||||
|
@ -136,11 +135,3 @@ void sqlstr::AgoTimeToString(int AgoTime, char *pAgoString)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
void sqlstr::GetTimeStamp(char *pDest, unsigned int Size)
|
||||
{
|
||||
std::time_t Rawtime;
|
||||
std::time(&Rawtime);
|
||||
|
||||
str_timestamp_ex(Rawtime, pDest, Size, FORMAT_SPACE);
|
||||
}
|
||||
|
|
|
@ -13,9 +13,6 @@ void ClearString(char *pString, int size = 32);
|
|||
|
||||
void AgoTimeToString(int agoTime, char *pAgoString);
|
||||
|
||||
void GetTimeStamp(char *pDest, unsigned int Size);
|
||||
|
||||
|
||||
template<unsigned int size>
|
||||
class CSqlString
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue