Make getValue const to fix Windows builds - and be more robust
parent
5f4fbffc82
commit
337cd3aa9d
|
|
@ -596,7 +596,7 @@ LLChatHistory::LLChatHistory(const LLChatHistory::Params& p)
|
|||
mEditor = LLUICtrlFactory::create<LLTextEditor>(editor_params, this);
|
||||
}
|
||||
|
||||
LLSD LLChatHistory::getValue()
|
||||
const LLSD LLChatHistory::getValue()
|
||||
{
|
||||
LLSD* text=new LLSD();
|
||||
text->assign(mEditor->getText());
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ class LLChatHistory : public LLUICtrl
|
|||
|
||||
public:
|
||||
~LLChatHistory();
|
||||
LLSD getValue();
|
||||
const LLSD getValue();
|
||||
void initFromParams(const Params&);
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue