From 5b39dc76f1bc82f941d5c800ab9f34407a06b53a Mon Sep 17 00:00:00 2001 From: Igor Pavlov <87184205+ip7z@users.noreply.github.com> Date: Wed, 21 Jun 2023 00:00:00 +0000 Subject: 23.01 --- CPP/Common/MyTypes.h | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) (limited to 'CPP/Common/MyTypes.h') diff --git a/CPP/Common/MyTypes.h b/CPP/Common/MyTypes.h index 71b8e7f..8f44f67 100644 --- a/CPP/Common/MyTypes.h +++ b/CPP/Common/MyTypes.h @@ -1,9 +1,10 @@ // Common/MyTypes.h -#ifndef __COMMON_MY_TYPES_H -#define __COMMON_MY_TYPES_H +#ifndef ZIP7_INC_COMMON_MY_TYPES_H +#define ZIP7_INC_COMMON_MY_TYPES_H #include "../../C/7zTypes.h" +#include "Common.h" typedef int HRes; @@ -33,20 +34,4 @@ struct CBoolPair } }; -#define CLASS_NO_COPY(cls) \ - private: \ - cls(const cls &); \ - cls &operator=(const cls &); - -class CUncopyable -{ -protected: - CUncopyable() {} // allow constructor - // ~CUncopyable() {} -CLASS_NO_COPY(CUncopyable) -}; - -#define MY_UNCOPYABLE :private CUncopyable -// #define MY_UNCOPYABLE - #endif -- cgit v1.2.3-55-g6feb