all: minor cleanups

This commit is contained in:
Markus F.X.J. Oberhumer
2024-05-28 10:26:39 +02:00
parent b0ce072370
commit 3495d1affd
17 changed files with 136 additions and 113 deletions
+4 -4
View File
@@ -371,7 +371,7 @@ protected:
IMAGE_REL_BASED_DIR64 = 10,
};
class Interval final : private noncopyable {
class Interval final : private upx::noncopyable {
SPAN_0(byte) base = nullptr;
unsigned ivcapacity = 0; // for ivarr
public:
@@ -397,7 +397,7 @@ protected:
static int __acc_cdecl_qsort compare(const void *p1, const void *p2);
};
class Reloc final : private noncopyable {
class Reloc final : private upx::noncopyable {
// these are set in the constructor:
byte *start = nullptr;
unsigned start_size_in_bytes = 0;
@@ -433,7 +433,7 @@ protected:
void finish(byte *(&result_ptr), unsigned &result_size); // => transfer ownership
};
class Resource final : private noncopyable {
class Resource final : private upx::noncopyable {
struct res_dir_entry;
struct res_dir;
struct res_data;
@@ -489,7 +489,7 @@ protected:
*/
};
class Export final : private noncopyable {
class Export final : private upx::noncopyable {
struct alignas(1) export_dir_t {
byte _[12]; // flags, timedate, version
LE32 name;