From 7b7d8ffc22d3af3186f96d57f1276411f558d6f1 Mon Sep 17 00:00:00 2001 From: Richard Linden Date: Thu, 16 Sep 2010 16:51:07 -0700 Subject: EXP-73 FIX hint cannot be dismissed with X and crashes browser when hint is triggered by user taking an object from inworld into inventory --- indra/llui/llnotificationtemplate.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'indra/llui') diff --git a/indra/llui/llnotificationtemplate.h b/indra/llui/llnotificationtemplate.h index 4a020bfe70..a4d393f874 100644 --- a/indra/llui/llnotificationtemplate.h +++ b/indra/llui/llnotificationtemplate.h @@ -74,10 +74,18 @@ struct LLNotificationTemplate struct UniquenessContext : public LLInitParam::Block { + private: + // this idiom allows + // + // as well as + // ... + Optional dummy_val; + public: Mandatory key; UniquenessContext() - : key("key") + : key("key"), + dummy_val("") {} }; -- cgit v1.2.3