Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-1313

Use of deprecated function 'std::random_shuffle'

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.0.4
    • 3.0.5
    • None
    • None
    • 1

    Description

      https://github.com/couchbase/libcouchbase/blob/5dac87d04f67151260c9dbeb0a94d1ae72a0d39d/tools/cbc-n1qlback.cc#L396
      Due to use of 'std::random_shuffle' windows build with libcouchbase 3.0.4 failed with message "..\libcouchbase\tools\cbc-n1qlback.cc(396): error C2039: 'random_shuffle': is not a member of 'std'"

      http://cv.jenkins.couchbase.com/job/manifest-gerrit-master/label=msvc2017/46/consoleFull#-314344202a460345f-f450-4c6f-a125-c7c18bb74da7

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          Build couchbase-server-7.0.0-3115 contains libcouchbase commit daf4619 with commit message:
          CCBC-1313: replace std::random_shuffle with std::shuffle

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-3115 contains libcouchbase commit daf4619 with commit message: CCBC-1313 : replace std::random_shuffle with std::shuffle

          People

            avsej Sergey Avseyev
            ankit.prabhu Ankit Prabhu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty