Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1730

'operator =' is ambiguous in gridfs/downloader.cpp

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • 3.3.1, 3.4.0
    • Build
    • None
    • Windows MSVC 14 64bit (Visual Studio 2015)

    Description

      I feel like I might be doing something wrong as this part of the code has not been touched for the past 2 years according to GitHub and Windows is probably a well supported platform... But when I tried it on both mongo cxx 3.3.1 and 3.4.0, I'm getting the following when I run MSBuild:

      This is what intellisense is saying:

       

      I got the type by looking at the type definition and modified to this and it compiles:

      _get_impl().chunks = stdx::optional<cursor>();

       

      Am I doing something wrong? Would this be a valid temporary workaround?

       

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            carmenfan Carmen Fan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: