Skip to content

Commit e1700ca

Browse files
committed
remove redundant check
1 parent ec91536 commit e1700ca

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

IntelPresentMon/CommonUtilities/log/GlobalPolicy.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,7 @@ namespace pmon::util::log
3131
static GlobalPolicy& Get() noexcept;
3232
static bool VCheck(V mod) noexcept
3333
{
34-
auto& self = Get();
35-
if (int(self.GetLogLevel()) >= int(Level::Verbose)) {
36-
return self.CheckVerboseModule(mod);
37-
}
38-
return false;
34+
return Get().CheckVerboseModule(mod);
3935
}
4036
private:
4137
// functions

0 commit comments

Comments
 (0)