Allow bson_iter_overwrite_decimal128 to take in a const decimal128 pointer

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: