summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2011-01-31 18:06:39 -0500
committerNat Goodspeed <nat@lindenlab.com>2011-01-31 18:06:39 -0500
commitd6e95923294483a5044fb6c66f7530442d55d338 (patch)
tree9910ba899cb3928a0912eaafb21d67acd7cf6fac /indra/newview
parent8b7c903e5cf5620deaab09ec39e978d62ddb45c3 (diff)
Resolve LLEventDispatcher::add(function(const LLSD&)) ambiguity.
A free function or static method accepting(const LLSD&) was being intercepted by the free-function-with-arbitrary-parameters overload instead of the original Callable overload. Added an overload that specifically redirects that case. Documented limit of ~6 arbitrary parameters for directly-called functions (5 for methods). Beyond that many, you have to write a Callable wrapper function and unpack the parameters from the LLSD by hand.
Diffstat (limited to 'indra/newview')
0 files changed, 0 insertions, 0 deletions