diff options
author | offtkp <parisoplop@gmail.com> | 2022-03-28 15:52:29 +0300 |
---|---|---|
committer | Hossein <hossein@libreoffice.org> | 2022-03-29 13:03:34 +0200 |
commit | 5b53dd0514c25f907c80d523b078387db71f859b (patch) | |
tree | 7c513a72c6c6d4deeb6c9c8ce82378f78ea31b11 | |
parent | 49a40e3ed200e7c6d728f36d0b4be22dd85c51be (diff) |
removed pointless using namespace std
Change-Id: I117aa1ea74b636ef06f7eedce8f2e12f9c4226b2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132213
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
-rw-r--r-- | include/comphelper/parallelsort.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/comphelper/parallelsort.hxx b/include/comphelper/parallelsort.hxx index 94d86e0d119b..57eccc4770e3 100644 --- a/include/comphelper/parallelsort.hxx +++ b/include/comphelper/parallelsort.hxx @@ -147,8 +147,7 @@ template <class RandItr> struct Sampler for (size_t nIdx = 0; nIdx < nSamples; ++nIdx) { size_t nSel = aGenerator() % nLen--; - using namespace std; - swap(*(aBegin + nSel), *(aBegin + nLen)); + std::swap(*(aBegin + nSel), *(aBegin + nLen)); pSamples[nIdx] = *(aBegin + nLen); } } |