summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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("")
{}
};