| 12 | } |
| 13 | |
| 14 | CTempFile::CTempFile(const char * c_pszPrefix) |
| 15 | { |
| 16 | strncpy(m_szFileName, g_nmApp->DirFunctionsInstance()->CreateTempFileName(c_pszPrefix).c_str(), MAX_PATH); |
| 17 | |
| 18 | if (!Create(m_szFileName, EFileMode::FILEMODE_WRITE)) |
| 19 | { |
| 20 | DEBUG_LOG(LL_ERR, "Can not create temporary file. Filename: %s", m_szFileName); |
| 21 | return; |
| 22 | } |
| 23 | } |
nothing calls this directly
no test coverage detected