summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Linden <none@none>2010-09-16 18:15:01 -0700
committerRichard Linden <none@none>2010-09-16 18:15:01 -0700
commit83c01b041d5b6527b3741b73d075afc4b7ad134c (patch)
tree32c682fce29df809a5af51f77cf34391df5b6b15
parent2f233f3eb48730eef4df708021752b0fd9b6c6b2 (diff)
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
-rw-r--r--indra/llui/llnotificationtemplate.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/indra/llui/llnotificationtemplate.h b/indra/llui/llnotificationtemplate.h
index a4d393f874..6bc0d2aaff 100644
--- a/indra/llui/llnotificationtemplate.h
+++ b/indra/llui/llnotificationtemplate.h
@@ -74,28 +74,28 @@ struct LLNotificationTemplate
struct UniquenessContext : public LLInitParam::Block<UniquenessContext>
{
- private:
- // this idiom allows
- // <notification unique="true">
- // as well as
- // <notification> <unique> <context key=""/> </unique>...
- Optional<bool> dummy_val;
- public:
Mandatory<std::string> key;
UniquenessContext()
- : key("key"),
- dummy_val("")
+ : key("key")
{}
};
struct UniquenessConstraint : public LLInitParam::Block<UniquenessConstraint>
{
+ private:
+ // this idiom allows
+ // <notification unique="true">
+ // as well as
+ // <notification> <unique> <context key=""/> </unique>...
+ Optional<bool> dummy_val;
+ public:
Multiple<UniquenessContext> contexts;
UniquenessConstraint()
- : contexts("context")
+ : contexts("context"),
+ dummy_val("")
{}
};