Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/Common/MyTypes.h')
-rw-r--r--CPP/Common/MyTypes.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/CPP/Common/MyTypes.h b/CPP/Common/MyTypes.h
index 2b1acce2..71b8e7fa 100644
--- a/CPP/Common/MyTypes.h
+++ b/CPP/Common/MyTypes.h
@@ -25,6 +25,12 @@ struct CBoolPair
Val = true;
Def = true;
}
+
+ void SetVal_as_Defined(bool val)
+ {
+ Val = val;
+ Def = true;
+ }
};
#define CLASS_NO_COPY(cls) \