[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-ddrescue] [PATCH 4/7] [clang-tidy] Access statmic member through qu
From: |
Rosen Penev |
Subject: |
[Bug-ddrescue] [PATCH 4/7] [clang-tidy] Access statmic member through qualified-id |
Date: |
Mon, 14 Oct 2019 13:59:43 -0700 |
Found with readability-static-accessed-through-instance
Signed-off-by: Rosen Penev <address@hidden>
---
ddrescuelog.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ddrescuelog.cc b/ddrescuelog.cc
index a17336b..e63d88d 100644
--- a/ddrescuelog.cc
+++ b/ddrescuelog.cc
@@ -497,7 +497,7 @@ int do_show_status( Domain & domain, const char * const
mapname,
if( verbosity >= 1 ) std::printf( "\n%s", mapname );
std::printf( "\n current pos: %9sB, current status: %s\n",
format_num( mapfile.current_pos() ),
- mapfile.status_name( mapfile.current_status() ) );
+ Mapfile::status_name( mapfile.current_status() ) );
std::printf( "mapfile extent: %9sB, in %6ld area(s)\n",
format_num( extent.size() ), true_sblocks );
if( domain.pos() > 0 || domain.end() < extent.end() || domain.blocks() > 1 )
--
2.17.1