Compiler warnings in async_stream_interface.h

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Trivial - P5
    • 3.4.0-rc3
    • Affects Version/s: None
    • Component/s: Networking
    • None
    • Fully Compatible
    • ALL
    • Platforms 2016-11-21
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The MSVC 2015 compiler produces the following warnings while compiling the ASIO sources:

      E:\workspace\mongo\src\mongo/executor/async_secure_stream.h(49): warning C4373: 'mongo::executor::AsyncSecureStream::connect': virtual function overrides 'mongo::executor::AsyncStreamInterface::connect', previous versions of the compiler did not override when parameters only differed by const/volatile qualifiers
      E:\workspace\mongo\src\mongo/executor/async_secure_stream.h(49): warning C4373: 'mongo::executor::AsyncSecureStream::connect': virtual function overrides 'mongo::executor::AsyncStreamInterface::connect', previous versions of the compiler did not override when parameters only differed by const/volatile qualifiers
      E:\workspace\mongo\src\mongo/executor/async_stream_interface.h(54): note: see declaration of 'mongo::executor::AsyncStreamInterface::connect'
      
      E:\workspace\mongo\src\mongo/executor/async_stream_interface.h(54): note: see declaration of 'mongo::executor::AsyncStreamInterface::connect'
      E:\workspace\mongo\src\mongo/executor/async_secure_stream.h(49): warning C4373: 'mongo::executor::AsyncSecureStream::connect': virtual function overrides 'mongo::executor::AsyncStreamInterface::connect', previous versions of the compiler did not override when parameters only differed by const/volatile qualifiers
      E:\workspace\mongo\src\mongo/executor/async_stream_interface.h(54): note: see declaration of 'mongo::executor::AsyncStreamInterface::connect'
      

      Probably just a matter of typo.

            Assignee:
            Matt Cotter (Inactive)
            Reporter:
            Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: