CI updates and minor cleanups.

This commit is contained in:
Markus F.X.J. Oberhumer
2023-12-02 01:48:26 +01:00
parent 67564513d2
commit 1e6e4043ed
11 changed files with 39 additions and 34 deletions
+2 -1
View File
@@ -686,7 +686,8 @@ const LE32 &PeFile::IDADDR(unsigned x) const { return iddirs[x].vaddr; }
*/
class PeFile::ImportLinker final : public ElfLinkerAMD64 {
struct TStr final : private ::noncopyable { // temporary string owner, deletes on destruction
// temporary string owner, deletes on destruction
struct TStr final : private upx::noncopyable {
explicit TStr(char *str) noexcept : s(str) {}
~TStr() noexcept { delete[] s; } // delete!
operator char *() noexcept { return s; }