diff options
author | Richard Linden <none@none> | 2012-06-22 14:13:20 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2012-06-22 14:13:20 -0700 |
commit | 74092930afdc294ef4d204830173d4750a310616 (patch) | |
tree | da79a26e843f70771f5c448ea82d76f9c097fb41 /indra/llxuixml | |
parent | 4775084000233ec9f0770f421771215397b987e7 (diff) |
CHUI-101 WIP Make LLFolderView general purpose
build fix for gcc
added detection of duplicate widget registration
Diffstat (limited to 'indra/llxuixml')
-rw-r--r-- | indra/llxuixml/llregistry.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llxuixml/llregistry.h b/indra/llxuixml/llregistry.h index 36ce6a97b7..3e8d9267cc 100644 --- a/indra/llxuixml/llregistry.h +++ b/indra/llxuixml/llregistry.h @@ -302,6 +302,10 @@ public: virtual ~StaticRegistrar() {} StaticRegistrar(ref_const_key_t key, ref_const_value_t value) { + if (singleton_t::instance().exists(key)) + { + llerrs << "Duplicate registry entry under key \"" << key << "\"" << llendl; + } singleton_t::instance().mStaticScope->add(key, value); } }; |