summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2016-09-17 20:54:50 -0400
committerNat Goodspeed <nat@lindenlab.com>2016-09-17 20:54:50 -0400
commitd0249fb7c099d30015f22e49cc5421f3c80e05b7 (patch)
tree845472f2d75917b3d4091967c272e682904678f9 /indra/llrender
parent0f0920135a375563bbc97ae5fa8df6ad5d849f5d (diff)
MAINT-5232: Eliminate pointless string search for "class " prefix.
The Visual C++ runtime produces typeid(MyClass).name() as "class MyClass". It's prudent to check for the presence of that prefix before stripping off the first six characters, but if the first comparison should ever fail, find() would continue searching the rest of the string for "class " -- a search guaranteed to fail. Use compare() instead.
Diffstat (limited to 'indra/llrender')
0 files changed, 0 insertions, 0 deletions