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

mongoc_server_description_type should accept const mongoc_server_description_t

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.5.0
    • Affects Version/s: 1.4.0
    • Component/s: libmongoc
    • None

      We shouldn't have released the functions with a non-const parameter in their signatures:

      • mongoc_server_description_host
      • mongoc_server_description_id
      • mongoc_server_description_ismaster
      • mongoc_server_description_round_trip_time
      • mongoc_server_description_type

            Assignee:
            Unassigned Unassigned
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: