UI: Remove unnecessary variables type conversions

Detected by PVS Studio.
This commit is contained in:
Richard Stanway
2023-04-02 22:34:34 +02:00
committed by Rodney
parent 43f12d1fbd
commit 820fba2d7f
3 changed files with 6 additions and 15 deletions

View File

@@ -6371,9 +6371,8 @@ void OBSBasic::UploadLog(const char *subdir, const char *file, const bool crash)
logUploadThread->wait();
}
RemoteTextThread *thread =
new RemoteTextThread("https://obsproject.com/logs/upload",
"text/plain", ss.str().c_str());
RemoteTextThread *thread = new RemoteTextThread(
"https://obsproject.com/logs/upload", "text/plain", ss.str());
logUploadThread.reset(thread);
if (crash) {