diff options
author | Gabor Kelemen <gabor.kelemen.extern@allotropia.de> | 2023-02-14 21:43:43 +0100 |
---|---|---|
committer | Gabor Kelemen <kelemeng@ubuntu.com> | 2023-02-15 18:37:59 +0000 |
commit | c95597ac428f6515df232a07e82af75f4e0e242a (patch) | |
tree | a7bfa573cb126a08081642fb7b22a9a7cfcf2b6a /cppu | |
parent | cf7004df41333db4828d1e3f18a6c322d7f9cb1a (diff) |
Drop 'using namespace ::std' in dirs b* c*
Change-Id: I59392ee7aa71c219e475a09da67a868cfdd14b41
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147074
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'cppu')
-rw-r--r-- | cppu/source/threadpool/threadident.cxx | 1 | ||||
-rw-r--r-- | cppu/source/threadpool/threadpool.cxx | 5 |
2 files changed, 2 insertions, 4 deletions
diff --git a/cppu/source/threadpool/threadident.cxx b/cppu/source/threadpool/threadident.cxx index 16b7c0b2700a..f2b9511e6b46 100644 --- a/cppu/source/threadpool/threadident.cxx +++ b/cppu/source/threadpool/threadident.cxx @@ -27,7 +27,6 @@ #include "current.hxx" -using namespace ::std; using namespace ::osl; using namespace ::cppu; diff --git a/cppu/source/threadpool/threadpool.cxx b/cppu/source/threadpool/threadpool.cxx index 897bebed9ac4..a65bdcfaf625 100644 --- a/cppu/source/threadpool/threadpool.cxx +++ b/cppu/source/threadpool/threadpool.cxx @@ -33,7 +33,6 @@ #include "threadpool.hxx" #include "thread.hxx" -using namespace ::std; using namespace ::osl; using namespace ::rtl; @@ -237,7 +236,7 @@ namespace cppu_threadpool if( ii == m_mapQueue.end() ) { - m_mapQueue[ aThreadId ] = pair < JobQueue * , JobQueue * > ( nullptr , nullptr ); + m_mapQueue[ aThreadId ] = std::pair < JobQueue * , JobQueue * > ( nullptr , nullptr ); ii = m_mapQueue.find( aThreadId ); OSL_ASSERT( ii != m_mapQueue.end() ); } @@ -280,7 +279,7 @@ namespace cppu_threadpool if( ii == m_mapQueue.end() ) { JobQueue *p = new JobQueue(); - m_mapQueue[ aThreadId ] = pair< JobQueue * , JobQueue * > ( p , nullptr ); + m_mapQueue[ aThreadId ] = std::pair< JobQueue * , JobQueue * > ( p , nullptr ); } else if( nullptr == (*ii).second.first ) { |