diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2011-01-28 17:01:18 -0700 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2011-01-28 17:01:18 -0700 |
commit | 2ca05d499633ab75aec84405314c1afda23512e2 (patch) | |
tree | 1e0c3e2aa6a08a0bb0d934eaf924b11d8b58ab9d /indra | |
parent | 6531eed04e24239233f79624572219e88017f476 (diff) |
trivial: convert to "unix return"
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llcommon/llmemory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llmemory.cpp b/indra/llcommon/llmemory.cpp index f340105f57..51fcd5b717 100644 --- a/indra/llcommon/llmemory.cpp +++ b/indra/llcommon/llmemory.cpp @@ -114,7 +114,7 @@ U32 LLMemory::getWorkingSetSize() { PROCESS_MEMORY_COUNTERS pmc ; U32 ret = 0 ; -
+ if (GetProcessMemoryInfo( GetCurrentProcess(), &pmc, sizeof(pmc)) ) { ret = pmc.WorkingSetSize ; |