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

Use std::unique_ptr<Item> in 'GetValue' to explicitly indicate the transfer of ownership

    XMLWordPrintable

Details

    Description

      Class GetValue contains a pointer to an item which is only used to transfer out the item contained from one layer to another. It would be better to explicitly indicate the transfer of ownership by using std::unique_ptr<Item> instead.

      Attachments

        Issue Links

          Activity

            People

              oliver.downard Oliver Downard (Inactive)
              manu Manu Dhundi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty