2449: Remove unused function r=heinrich5991 a=Zwelf



Co-authored-by: Zwelf <zwelf@strct.cc>
This commit is contained in:
bors[bot] 2020-07-03 20:51:01 +00:00 committed by GitHub
commit 9c9dd525fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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
{