| 4119 | } |
| 4120 | |
| 4121 | void Value::Comments::set(CommentPlacement slot, String comment) |
| 4122 | { |
| 4123 | if (slot >= CommentPlacement::numberOfCommentPlacement) |
| 4124 | return; |
| 4125 | if (!ptr_) |
| 4126 | ptr_ = std::unique_ptr<Array>(new Array()); |
| 4127 | (*ptr_)[slot] = std::move(comment); |
| 4128 | } |
| 4129 | |
| 4130 | void Value::setComment(String comment, CommentPlacement placement) |
| 4131 | { |
no outgoing calls
no test coverage detected