| 1076 | } |
| 1077 | |
| 1078 | void mark_constant() const |
| 1079 | { |
| 1080 | if (this->mDat != nullptr) |
| 1081 | { |
| 1082 | if (this->mDat->protect_level > 2) |
| 1083 | throw cs::runtime_error("Constant tagged objects can not be copied"); |
| 1084 | this->mDat->protect_level = 2; |
| 1085 | } |
| 1086 | } |
| 1087 | |
| 1088 | void mark_single() const |
| 1089 | { |
no test coverage detected