Skip to content

Commit 52d29af

Browse files
author
Diptorup Deb
authored
Merge pull request #762 from diptorupd/fix/748
Remove redundant namespace scopes.
1 parent 024a23b commit 52d29af

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

dpctl/apis/include/dpctl4pybind11.hpp

-18
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,7 @@ template <> struct type_caster<sycl::queue>
6767
return handle(reinterpret_cast<PyObject *>(tmp));
6868
}
6969
};
70-
} // namespace detail
71-
} // namespace pybind11
7270

73-
namespace pybind11
74-
{
75-
namespace detail
76-
{
7771
/* This type caster associates ``sycl::device`` C++ class with
7872
* :class:`dpctl.SyclDevice` for the purposes of generation of
7973
* Python bindings by pybind11.
@@ -105,13 +99,7 @@ template <> struct type_caster<sycl::device>
10599
return handle(reinterpret_cast<PyObject *>(tmp));
106100
}
107101
};
108-
} // namespace detail
109-
} // namespace pybind11
110102

111-
namespace pybind11
112-
{
113-
namespace detail
114-
{
115103
/* This type caster associates ``sycl::context`` C++ class with
116104
* :class:`dpctl.SyclContext` for the purposes of generation of
117105
* Python bindings by pybind11.
@@ -144,13 +132,7 @@ template <> struct type_caster<sycl::context>
144132
return handle(reinterpret_cast<PyObject *>(tmp));
145133
}
146134
};
147-
} // namespace detail
148-
} // namespace pybind11
149135

150-
namespace pybind11
151-
{
152-
namespace detail
153-
{
154136
/* This type caster associates ``sycl::event`` C++ class with
155137
* :class:`dpctl.SyclEvent` for the purposes of generation of
156138
* Python bindings by pybind11.

0 commit comments

Comments
 (0)