Make getValue const to fix Windows builds - and be more robust

master
Jeff (Gioffredo Linden) 2012-10-16 15:22:42 -04:00
parent 5f4fbffc82
commit 337cd3aa9d
2 changed files with 2 additions and 2 deletions

View File

@ -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());

View File

@ -103,7 +103,7 @@ class LLChatHistory : public LLUICtrl
public:
~LLChatHistory();
LLSD getValue();
const LLSD getValue();
void initFromParams(const Params&);
/**