summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelavatar.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2011-02-01 17:35:42 -0500
committerNat Goodspeed <nat@lindenlab.com>2011-02-01 17:35:42 -0500
commit409c59b70d2d4f2958ccd3ee8db5f7e6e08fe14e (patch)
treee992ff246e94add17d61dde74dda7a64e2ca7e77 /indra/newview/llpanelavatar.h
parent66083f9e7a65367fad5bf17dec9a89f9b14c5985 (diff)
Fix string-init compile error (g++ 4.4) in llurlentry_stub.cpp.
Newer C++ compilers produce a (fatal) warning when you try to initialize a (non-const) char* variable with a string literal: you're supposed to capture such data in a const char*. But as this module is resolving external references declared in ancient message-system headers, we don't have the option to fix the original declaration. Instead use char* _PREHASH_Foo = const_cast<char*>("string literal"); // sigh
Diffstat (limited to 'indra/newview/llpanelavatar.h')
0 files changed, 0 insertions, 0 deletions