diff options
Diffstat (limited to 'plugins/ClientChangeNotify')
-rw-r--r-- | plugins/ClientChangeNotify/src/CommonLibs/CString.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/plugins/ClientChangeNotify/src/CommonLibs/CString.cpp b/plugins/ClientChangeNotify/src/CommonLibs/CString.cpp index b36076eec8..a874b75721 100644 --- a/plugins/ClientChangeNotify/src/CommonLibs/CString.cpp +++ b/plugins/ClientChangeNotify/src/CommonLibs/CString.cpp @@ -268,24 +268,10 @@ TString<T>& TString<T>::operator = (const T *pStr) return *this;
}
-
-/*TCString& TCString::Format(char *pszFormat, ...)
-{
- va_list argList;
- va_start(argList, pszFormat);
- int StrLen = _vscprintf(pszFormat, argList); // it's stupidity. in some versions of msvcrt.dll there's no _vscprintf function, so there's no any way to determine needed string length. so actually I can't use _vsnprintf too.
- _vsnprintf(GetBuffer(StrLen), StrLen, pszFormat, argList);
- ReleaseBuffer(StrLen);
- va_end(argList);
- return *this;
-}
-*/
-
template class TString<TCHAR>;
template class TString<char>;
template class TString<WCHAR>;
-
CString db_get_s(HANDLE hContact, const char *szModule, const char *szSetting, const char *szDefaultValue)
{
ptrA p( db_get_sa(hContact, szModule, szSetting));
|