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