summaryrefslogtreecommitdiff
path: root/indra/llcommon/llprocessor.cpp
diff options
context:
space:
mode:
authorRye <rye@alchemyviewer.org>2025-10-28 09:28:55 -0400
committerRye <rye@alchemyviewer.org>2025-10-31 07:46:07 -0400
commit7429ee1f84161103affefa97a7d4f40803445364 (patch)
treecbb5d7a8b69df2aa0c486e7b7163beb411e595bd /indra/llcommon/llprocessor.cpp
parentefb62b8899848d0f048967fa29cf5837af95cdee (diff)
Fix multiple unicode file io handling issues with llofstream and llifstream
Signed-off-by: Rye <rye@alchemyviewer.org>
Diffstat (limited to 'indra/llcommon/llprocessor.cpp')
-rw-r--r--indra/llcommon/llprocessor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llprocessor.cpp b/indra/llcommon/llprocessor.cpp
index 012b4ffb59..464578c2d9 100644
--- a/indra/llcommon/llprocessor.cpp
+++ b/indra/llcommon/llprocessor.cpp
@@ -841,7 +841,7 @@ private:
// Nicky: We just look into cpu0. In theory we could iterate over all cores
// "/sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_max_freq"
// But those should not fluctuate that much?
- std::ifstream fIn { "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq" };
+ llifstream fIn{ "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq" };
if( !fIn.is_open() )
return 0.0;