diff options
author | Leslie Linden <leslie@lindenlab.com> | 2011-12-01 10:42:15 -0800 |
---|---|---|
committer | Leslie Linden <leslie@lindenlab.com> | 2011-12-01 10:42:15 -0800 |
commit | 770538f992a42cdda091f93e8b318e35372aaad2 (patch) | |
tree | 5c0179561645f035d85b45965fc6a4681e3884ab /indra | |
parent | 0c54cf51db0c1a6e0b2ac91d69b2646570b168eb (diff) |
Build fixes for mac, hopefully Linux too
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llui/llhandle.h | 2 | ||||
-rw-r--r-- | indra/llxuixml/llinitparam.h | 2 | ||||
-rw-r--r-- | indra/llxuixml/llxuiparser.cpp | 24 |
3 files changed, 14 insertions, 14 deletions
diff --git a/indra/llui/llhandle.h b/indra/llui/llhandle.h index e6390ee599..37c657dd92 100644 --- a/indra/llui/llhandle.h +++ b/indra/llui/llhandle.h @@ -166,7 +166,7 @@ protected: } template <typename U> - typename LLHandle<U> getDerivedHandle(typename boost::enable_if< typename boost::is_convertible<U*, T*> >::type* dummy = 0) const + LLHandle<U> getDerivedHandle(typename boost::enable_if< typename boost::is_convertible<U*, T*> >::type* dummy = 0) const { LLHandle<U> downcast_handle; downcast_handle.mTombStone = getHandle().mTombStone; diff --git a/indra/llxuixml/llinitparam.h b/indra/llxuixml/llinitparam.h index 7927f84cba..ab20957760 100644 --- a/indra/llxuixml/llinitparam.h +++ b/indra/llxuixml/llinitparam.h @@ -764,7 +764,7 @@ namespace LLInitParam { if (NAME_VALUE_LOOKUP::getValueFromName(val, mValue)) { - setValueName(val); + NAME_VALUE_LOOKUP::setValueName(val); } else { diff --git a/indra/llxuixml/llxuiparser.cpp b/indra/llxuixml/llxuiparser.cpp index 90c2671242..58654dcc21 100644 --- a/indra/llxuixml/llxuiparser.cpp +++ b/indra/llxuixml/llxuiparser.cpp @@ -129,7 +129,7 @@ struct Any : public LLInitParam::Block<Any, Occurs> struct All : public LLInitParam::Block<All, Occurs> { - Multiple<Lazy<Element>> elements; + Multiple< Lazy<Element> > elements; All() : elements("element") @@ -140,11 +140,11 @@ struct All : public LLInitParam::Block<All, Occurs> struct Choice : public LLInitParam::ChoiceBlock<Choice, Occurs> { - Alternative<Lazy<Element>> element; - Alternative<Lazy<Group>> group; - Alternative<Lazy<Choice>> choice; - Alternative<Lazy<Sequence>> sequence; - Alternative<Lazy<Any>> any; + Alternative< Lazy<Element> > element; + Alternative< Lazy<Group> > group; + Alternative< Lazy<Choice> > choice; + Alternative< Lazy<Sequence> > sequence; + Alternative< Lazy<Any> > any; Choice() : element("element"), @@ -158,11 +158,11 @@ struct Choice : public LLInitParam::ChoiceBlock<Choice, Occurs> struct Sequence : public LLInitParam::ChoiceBlock<Sequence, Occurs> { - Alternative<Lazy<Element>> element; - Alternative<Lazy<Group>> group; - Alternative<Lazy<Choice>> choice; - Alternative<Lazy<Sequence>> sequence; - Alternative<Lazy<Any>> any; + Alternative< Lazy<Element> > element; + Alternative< Lazy<Group> > group; + Alternative< Lazy<Choice> > choice; + Alternative< Lazy<Sequence> > sequence; + Alternative< Lazy<Any> > any; }; struct GroupContents : public LLInitParam::ChoiceBlock<GroupContents, Occurs> @@ -247,7 +247,7 @@ struct ComplexType : public LLInitParam::Block<ComplexType, ComplexTypeContents> Optional<bool> mixed; Multiple<Attribute> attribute; - Multiple<Lazy<Element>> elements; + Multiple< Lazy<Element> > elements; ComplexType() : name("name"), |