mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00
src/3rdparty: Move jthread/stop_token out of std namespace to prevent collisions
This commit is contained in:
parent
3046be57da
commit
21fc299131
2 changed files with 4 additions and 4 deletions
4
src/3rdparty/jthread.hpp
vendored
4
src/3rdparty/jthread.hpp
vendored
|
@ -15,7 +15,7 @@
|
|||
|
||||
#include "stop_token.hpp"
|
||||
|
||||
namespace std {
|
||||
namespace nonstd {
|
||||
|
||||
//*****************************************
|
||||
//* class jthread
|
||||
|
@ -148,6 +148,6 @@ inline void jthread::swap(jthread& t) noexcept {
|
|||
}
|
||||
|
||||
|
||||
} // namespace std
|
||||
} // namespace nonstd
|
||||
|
||||
#endif // JTHREAD_HPP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue