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

Allow bson_iter_overwrite_decimal128 to take in a const decimal128 pointer

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.15.0
    • Affects Version/s: None
    • Component/s: libmongoc

      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.

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

              Created:
              Updated:
              Resolved: