mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 19:18:19 +00:00
Base: Clean up explicit uses of namespaces in places where they're not necessary.
This commit covers all of the common and base classes.
This commit is contained in:
parent
9f802b2a4d
commit
fe0c22c789
240 changed files with 6823 additions and 6787 deletions
|
@ -127,7 +127,7 @@ inline static std::unique_lock<std::mutex> acquire_lock(std::mutex& m)
|
|||
}
|
||||
catch ( const std::system_error& e )
|
||||
{
|
||||
zeek::reporter->FatalErrorWithCore("cannot lock mutex: %s", e.what());
|
||||
reporter->FatalErrorWithCore("cannot lock mutex: %s", e.what());
|
||||
// Never gets here.
|
||||
throw std::exception();
|
||||
}
|
||||
|
@ -218,7 +218,7 @@ inline std::vector<std::unique_lock<std::mutex>> Queue<T>::LocksForAllQueues()
|
|||
|
||||
catch ( const std::system_error& e )
|
||||
{
|
||||
zeek::reporter->FatalErrorWithCore("cannot lock all mutexes: %s", e.what());
|
||||
reporter->FatalErrorWithCore("cannot lock all mutexes: %s", e.what());
|
||||
// Never gets here.
|
||||
throw std::exception();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue