From 67a282f19f5c8f84a6563e0dd67da56794c19ddf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Moln=C3=A1r?= Date: Tue, 11 Jul 2006 13:58:13 +0200 Subject: [PATCH] class nocopy introduced --- src/util.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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 */