mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-19 00:46:03 +01:00
trunk/branch integration: unnamed namespace
This commit is contained in:
parent
d6136d3088
commit
7b0716effa
@ -136,10 +136,15 @@ void NestedDiagnosticContext::clear()
|
||||
}
|
||||
|
||||
|
||||
namespace
|
||||
{
|
||||
static ThreadLocal<NestedDiagnosticContext> ndc;
|
||||
}
|
||||
|
||||
|
||||
NestedDiagnosticContext& NestedDiagnosticContext::current()
|
||||
{
|
||||
static ThreadLocal<NestedDiagnosticContext> ndc;
|
||||
return ndc.get();
|
||||
return ndc.get();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user