Skip to content
Snippets Groups Projects
Commit c1093618 authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

CHOP-962: per code review, comment that other code relies on "Global".

The comment advises grepping for "Global" rather than specifically pointing to
llcontrol.cpp because that's NOT the only place that relies on the name
"Global"! Besides, by the time someone does want to change the name, still
other such dependencies could've crept in.
parent d2386652
No related branches found
No related tags found
No related merge requests found
...@@ -83,7 +83,9 @@ ...@@ -83,7 +83,9 @@
BOOL gHackGodmode = FALSE; BOOL gHackGodmode = FALSE;
#endif #endif
// Should you contemplate changing the name "Global", please first grep for
// that string literal. There are at least a couple other places in the C++
// code that assume the LLControlGroup named "Global" is gSavedSettings.
LLControlGroup gSavedSettings("Global"); // saved at end of session LLControlGroup gSavedSettings("Global"); // saved at end of session
LLControlGroup gSavedPerAccountSettings("PerAccount"); // saved at end of session LLControlGroup gSavedPerAccountSettings("PerAccount"); // saved at end of session
LLControlGroup gCrashSettings("CrashSettings"); // saved at end of session LLControlGroup gCrashSettings("CrashSettings"); // saved at end of session
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment