From 7e7f183f0a80241e3f1eb2fc8338ba2fe9b28819 Mon Sep 17 00:00:00 2001 From: "simon@Simon-PC.lindenlab.com" <simon@Simon-PC.lindenlab.com> Date: Tue, 2 Oct 2012 09:31:38 -0700 Subject: [PATCH] Fixed LLControlGroup::get() template to not crash on missing items. Reviewed by Kelly --- indra/llxml/llcontrol.h | 1 + 1 file changed, 1 insertion(+) diff --git a/indra/llxml/llcontrol.h b/indra/llxml/llcontrol.h index 9a3a40e476f..ee7d1d50b7e 100644 --- a/indra/llxml/llcontrol.h +++ b/indra/llxml/llcontrol.h @@ -254,6 +254,7 @@ class LLControlGroup : public LLInstanceTracker<LLControlGroup, std::string> else { llwarns << "Control " << name << " not found." << llendl; + return T(); } return convert_from_llsd<T>(value, type, name); } -- GitLab