const ref please!
parent
2428f9754a
commit
25f20cfd59
|
|
@ -534,7 +534,7 @@ void LLDiskCache::removeOldVFSFiles()
|
|||
}
|
||||
}
|
||||
|
||||
uintmax_t LLDiskCache::dirFileSize(const std::string dir)
|
||||
uintmax_t LLDiskCache::dirFileSize(const std::string& dir)
|
||||
{
|
||||
uintmax_t total_file_size = 0;
|
||||
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ class LLDiskCache :
|
|||
* directory. Primarily used here to determine the directory size
|
||||
* before and after the cache purge
|
||||
*/
|
||||
uintmax_t dirFileSize(const std::string dir);
|
||||
uintmax_t dirFileSize(const std::string& dir);
|
||||
|
||||
/**
|
||||
* Utility function to convert an LLAssetType enum into a
|
||||
|
|
|
|||
Loading…
Reference in New Issue