Remove unused function

This commit is contained in:
Zwelf 2020-07-03 20:13:51 +02:00
parent ac3dde1d98
commit 6be35cd4e7
2 changed files with 0 additions and 12 deletions

View file

@ -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);
}

View file

@ -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
{