Skip to content

Commit fc9912b

Browse files
committed
Fix CacheStats forward declaration to match struct definition.
Aligns the forward declaration with the struct definition to silence -Wmismatched-tags. Assisted-by: Cursor:Composer-2.5 CursorAI
1 parent bf20692 commit fc9912b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/XrdApps/XrdClJournalCachePlugin/file/CacheStats.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,5 +447,5 @@ struct CacheStats {
447447
run();
448448
}
449449
}
450-
}; // class CacheStats
450+
}; // struct CacheStats
451451
} // namespace JournalCache

src/XrdApps/XrdClJournalCachePlugin/file/XrdClJournalCacheFile.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
/*----------------------------------------------------------------------------*/
5353

5454
namespace JournalCache {
55-
class CacheStats;
55+
struct CacheStats;
5656
}
5757

5858
namespace XrdCl {

0 commit comments

Comments
 (0)