summaryrefslogtreecommitdiff
path: root/indra/llcommon/llnametable.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llcommon/llnametable.h')
-rw-r--r--indra/llcommon/llnametable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llnametable.h b/indra/llcommon/llnametable.h
index 4f11c595ed..ca4c56f630 100644
--- a/indra/llcommon/llnametable.h
+++ b/indra/llcommon/llnametable.h
@@ -64,7 +64,7 @@ public:
bool checkName(const char *name) const
{
char *tablename = gStringTable.addString(name);
- return mNameMap.count(tablename) ? true : false;
+ return mNameMap.find(tablename) != mNameMap.end();
}
DATA resolveName(const std::string& name) const