[CXX-1726] Coverity analysis defect 105004: PW.USELESS_USING_DECLARATION Created: 04/Feb/19  Updated: 28/Oct/23  Resolved: 08/Sep/20

Status: Closed
Project: C++ Driver
Component/s: API
Affects Version/s: None
Fix Version/s: 3.6.2

Type: Bug Priority: Trivial - P5
Reporter: Coverity Collector User Assignee: Kevin Albertson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

PW.USELESS_USING_DECLARATION

Defect 105004 (STATIC_C)
Checker PW.USELESS_USING_DECLARATION (subcategory none)
File: /src/mongocxx/events/topology_description.hpp
Parse Warning (no function name available)
/src/mongocxx/events/topology_description.hpp, line: 31
using-declaration ignored – it refers to the current namespace

    using mongocxx::events::server_description;



 Comments   
Comment by Githook User [ 08/Sep/20 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: CXX-1726 Remove unnecessary using statement
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/1747ace9b57e72ab4b24aeb40c781c152c9936fb

Comment by Kevin Albertson [ 01/Sep/20 ]

PR: https://github.com/mongodb/mongo-cxx-driver/pull/716

Generated at Wed Feb 07 22:03:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.