Skip to content

Commit 2f700ab

Browse files
committed
Moved using namespace within PyBind11 function
This fixes a static analyzer warning about using namespace declaration in headers.
1 parent 97a97d3 commit 2f700ab

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

FWCore/PyDevParameterSet/src/PyBind11Module.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,8 @@
3232

3333
#include <pybind11/pybind11.h>
3434

35-
using namespace cmspython3;
36-
3735
PYBIND11_MODULE(libFWCorePyDevParameterSet, m) {
36+
using namespace cmspython3;
3837
pybind11::register_exception_translator([](std::exception_ptr p) {
3938
try {
4039
if (p)

0 commit comments

Comments
 (0)