Fix invalid implicit conversion from wxString to std::string
authorJonathan Wakely <github@kayari.org>
Thu, 18 Feb 2021 17:11:23 +0000 (17:11 +0000)
committerMichael McMaster <michael@codesrc.com>
Mon, 26 Apr 2021 10:59:30 +0000 (20:59 +1000)
commita8cfa393f14778927ca63f118783c86b1df0a839
treeb055fc125b3aab2ecc6803beb926ed399f7e7ddd
parent5e2534a6bd90f693aee86c9e0420a36bb4f26b0d
Fix invalid implicit conversion from wxString to std::string

This fails to compile because CreateTempFileName returns a wxString
which doesn't have an implicit conversion to std::string. One solution
would be to call ToStdString() to get a std::string, but this change
just uses auto to deduce the type.
src/scsi2sd-util6/scsi2sd-util.cc