Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3069

Allow bson_iter_overwrite_decimal128 to take in a const decimal128 pointer

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.15.0
    • Component/s: libmongoc
    • Labels:

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              haris.sheikh Haris Sheikh (Inactive)
              Reporter:
              patrick.freed Patrick Freed
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: