[SERVER-24556] Compiler warnings in async_stream_interface.h Created: 14/Jun/16  Updated: 19/Nov/16  Resolved: 08/Nov/16

Status: Closed
Project: Core Server
Component/s: Networking
Affects Version/s: None
Fix Version/s: 3.4.0-rc3

Type: Bug Priority: Trivial - P5
Reporter: Kaloian Manassiev Assignee: Matt Cotter
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platforms 2016-11-21
Participants:

 Description   

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.



 Comments   
Comment by Githook User [ 08/Nov/16 ]

Author:

{u'username': u'Machyne', u'name': u'Matt Cotter', u'email': u'matt.cotter@mongodb.com'}

Message: SERVER-24556 fix warning for AsyncSecureStream::connect
Branch: master
https://github.com/mongodb/mongo/commit/807d098fa8f41d318ffb5559ce8438c4e8372a84

Generated at Thu Feb 08 04:06:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.