Skip to content

Commit 284507e

Browse files
mkoscumblalitb
andauthored
Fix variable shadowing warning in LogManagerBase.hpp (#1167)
Co-authored-by: Lalit Kumar Bhasin <[email protected]>
1 parent 0613867 commit 284507e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/include/public/LogManagerBase.hpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -716,10 +716,11 @@ namespace MAT_NS_BEGIN
716716

717717
static void WaitPause()
718718
{
719-
auto instance = GetInstance();
720-
if (instance) {
719+
auto managerInstance = GetInstance();
720+
if (managerInstance)
721+
{
721722
// do not hold the stateLock() here!
722-
instance->WaitPause();
723+
managerInstance->WaitPause();
723724
}
724725
}
725726

0 commit comments

Comments
 (0)