From 78f6dec12fe70ed3b78eb50038bf09eb8745959a Mon Sep 17 00:00:00 2001 From: Ansariel Date: Wed, 12 May 2021 22:39:42 +0200 Subject: [PATCH] Fix typo --- indra/llfilesystem/lldiskcache.h | 2 +- indra/newview/llviewercontrol.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/llfilesystem/lldiskcache.h b/indra/llfilesystem/lldiskcache.h index 5c1b1d7456..f2cc53d025 100644 --- a/indra/llfilesystem/lldiskcache.h +++ b/indra/llfilesystem/lldiskcache.h @@ -144,7 +144,7 @@ class LLDiskCache : const std::string getCacheInfo(); // Better asset cache size control - void setMaxSiteBytes(uintmax_t size) { mMaxSizeBytes = size; } + void setMaxSizeBytes(uintmax_t size) { mMaxSizeBytes = size; } private: /** diff --git a/indra/newview/llviewercontrol.cpp b/indra/newview/llviewercontrol.cpp index c62b0c89fe..b494549e16 100644 --- a/indra/newview/llviewercontrol.cpp +++ b/indra/newview/llviewercontrol.cpp @@ -1068,7 +1068,7 @@ void handleDiskCacheSizeChanged(const LLSD& newValue) { const unsigned int disk_cache_mb = gSavedSettings.getU32("FSDiskCacheSize"); const U64 disk_cache_bytes = disk_cache_mb * 1024 * 1024; - LLDiskCache::getInstance()->setMaxSiteBytes(disk_cache_bytes); + LLDiskCache::getInstance()->setMaxSizeBytes(disk_cache_bytes); } //