summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Linden <none@none>2010-08-05 13:15:22 -0700
committerRichard Linden <none@none>2010-08-05 13:15:22 -0700
commit52936c4ffe97172a5d4926e252f2a25515c47895 (patch)
tree6ee035597e9c6e6ffe12842f097d21a5f755ee79
parent5e56b2d4acaecf6b1c9e1789748b90836a7bd2c6 (diff)
reverted unportable use of typeinfo* as hash key
-rw-r--r--indra/llxuixml/llinitparam.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llxuixml/llinitparam.h b/indra/llxuixml/llinitparam.h
index 1cc7d06b73..9890bacea4 100644
--- a/indra/llxuixml/llinitparam.h
+++ b/indra/llxuixml/llinitparam.h
@@ -207,9 +207,9 @@ namespace LLInitParam
typedef boost::function<bool (const void*, const name_stack_t&)> parser_write_func_t;
typedef boost::function<void (const name_stack_t&, S32, S32, const possible_values_t*)> parser_inspect_func_t;
- typedef boost::unordered_map<const void*, parser_read_func_t> parser_read_func_map_t;
- typedef boost::unordered_map<const void*, parser_write_func_t> parser_write_func_map_t;
- typedef boost::unordered_map<const void*, parser_inspect_func_t> parser_inspect_func_map_t;
+ typedef std::map<const std::type_info*, parser_read_func_t, CompareTypeID> parser_read_func_map_t;
+ typedef std::map<const std::type_info*, parser_write_func_t, CompareTypeID> parser_write_func_map_t;
+ typedef std::map<const std::type_info*, parser_inspect_func_t, CompareTypeID> parser_inspect_func_map_t;
Parser()
: mParseSilently(false),