diff --git a/src/util.h b/src/util.h index e65171b7..396fcda3 100644 --- a/src/util.h +++ b/src/util.h @@ -124,6 +124,14 @@ int upx_tolower(int c); #endif +class nocopy +{ + nocopy(const nocopy &); // undefined + nocopy& operator=(const nocopy &); // undefined +public: + inline nocopy() {} +}; + #endif /* already included */