Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-23377

Make GetValue use an owning pointer for `value` field

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 5.0.0
    • 5.0.0
    • couchbase-bucket
    • None

    Description

      The GetValue class has a raw pointer to an Item object. GetValue is responsible (owns) this Item, and hence we should use an owning pointer (unique_ptr) for it instead of a raw ptr.

      Attachments

        Issue Links

          Activity

            People

              oliver.downard Oliver Downard (Inactive)
              drigby Dave Rigby (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty