diff options
Diffstat (limited to 'CPP/Common/MyTypes.h')
-rw-r--r-- | CPP/Common/MyTypes.h | 6 |
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) \ |