Remove unneeded using namespace std (#2799)

This commit is contained in:
Adrià Arrufat 2023-05-19 12:02:46 +09:00 committed by GitHub
parent 5b9ab23cc0
commit b86871241b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 7 deletions

View File

@ -1070,7 +1070,6 @@ namespace dlib
Callback&& clb
)
{
using namespace std;
using namespace details;
if (!is_open())
@ -1233,7 +1232,6 @@ namespace dlib
inline bool demuxer::open(const args& a)
{
using namespace std;
using namespace std::chrono;
using namespace details;
@ -1442,7 +1440,6 @@ namespace dlib
inline bool demuxer::fill_queue()
{
using namespace std;
using namespace details;
if (!st.frame_queue.empty())

View File

@ -836,7 +836,6 @@ namespace dlib
inline bool encoder::open()
{
using namespace std;
using namespace details;
register_ffmpeg();
@ -1141,7 +1140,6 @@ namespace dlib
inline bool muxer::open(const args& a)
{
using namespace std;
using namespace std::chrono;
using namespace details;
@ -1308,7 +1306,6 @@ namespace dlib
inline bool muxer::push(frame f)
{
using namespace std;
using namespace details;
if (!is_open())
@ -1339,7 +1336,6 @@ namespace dlib
>
bool muxer::push(const image_type& img)
{
using namespace std;
using namespace details;
return is_open() &&