Make some methods const (#2614)

Found via cppcheck --inconclusive.
This commit is contained in:
Andrew Gaul
2024-12-01 10:31:03 +09:00
committed by GitHub
parent 65e4aef2a1
commit d4f3fb01fc
10 changed files with 10 additions and 10 deletions

View File

@ -234,7 +234,7 @@ S3fsLog::s3fs_log_level S3fsLog::LowSetLogLevel(s3fs_log_level level)
return old;
}
S3fsLog::s3fs_log_level S3fsLog::LowBumpupLogLevel()
S3fsLog::s3fs_log_level S3fsLog::LowBumpupLogLevel() const
{
if(S3fsLog::pSingleton != this){
S3FS_PRN_ERR("This object is not as same as S3fsLog::pSingleton.");