← Back to team overview

nrtb-core team mailing list archive

[Bug 722717] Re: Todo: dbAccess.h has a "using namespace" statement in it.

 

** Changed in: nrtb
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/722717

Title:
  Todo: dbAccess.h has a "using namespace" statement in it.

Status in The New Real Time Battle Project:
  Fix Released

Bug description:
  Best practices indicate that no header file should have a "using
  namespace" statement. Such a statement in a header file affects not
  only the header, but any file which may include that header later,
  leading to unintended bugs.

  Please remove the "using namespace std;" statement fully qualify any
  reference to an identifier from the std:: namespace in the header.



References