diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2020-12-01 18:29:10 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2020-12-01 18:29:10 +0000 |
commit | 7d845cf6d94c23c8153a649591bae3919c103558 (patch) | |
tree | 59fea6f547dbb7ea3a0294d6720c68d2de91deba /searchcore | |
parent | d216e7d74ee780a408ee89a77bd81c0477275ae3 (diff) |
Avoid polluting global namespace
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/apps/vespa-feed-bm/pending_tracker.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/apps/vespa-feed-bm/pending_tracker.h b/searchcore/src/apps/vespa-feed-bm/pending_tracker.h index 2a18b759a4b..14c84e8d1dd 100644 --- a/searchcore/src/apps/vespa-feed-bm/pending_tracker.h +++ b/searchcore/src/apps/vespa-feed-bm/pending_tracker.h @@ -7,7 +7,6 @@ #include <thread> #include <chrono> -using namespace std::chrono_literals; namespace storage::spi { struct PersistenceProvider; } namespace feedbm { @@ -31,6 +30,7 @@ public: _pending--; } void retain() { + using namespace std::chrono_literals; while (_pending >= _limit) { std::this_thread::sleep_for(1ms); } |