[CDRIVER-3069] Allow bson_iter_overwrite_decimal128 to take in a const decimal128 pointer Created: 03/Apr/19 Updated: 28/Oct/23 Resolved: 04/Jun/19 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | libmongoc |
| Affects Version/s: | None |
| Fix Version/s: | 1.15.0 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Patrick Freed | Assignee: | Haris Sheikh (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Description |
|
Right now, bson_iter_overwrite_decimal128 takes in a non-const pointer to the input decimal128 even though it's not being mutated. The overwrite function corresponding to ObjectID does however take in a const pointer to its input ObjectID. bson_iter_overwrite_decimal128 should thus be updated to take in a const pointer. |
| Comments |
| Comment by Githook User [ 04/Jun/19 ] |
|
Author: {'name': 'Haris Sheikh', 'email': 'harissheikh@Hariss-MacBook-Pro.local'}Message: |