Skip to content
Snippets Groups Projects
Commit 29bbaef4 authored by Monroe Linden's avatar Monroe Linden
Browse files

Fixed a couple of compile errors.

parent 0399d49e
No related branches found
No related tags found
No related merge requests found
...@@ -191,10 +191,10 @@ void export_test_floaters() ...@@ -191,10 +191,10 @@ void export_test_floaters()
// Build a floater and output new attributes // Build a floater and output new attributes
LLXMLNodePtr output_node = new LLXMLNode(); LLXMLNodePtr output_node = new LLXMLNode();
LLFloater* floater = new LLFloater(LLSD()); LLFloater* floater = new LLFloater(LLSD());
LLUICtrlFactory::getInstance()->buildFloater(floater, LLFloater::buildFloater(floater,
filename, filename,
// FALSE, // don't open floater // FALSE, // don't open floater
output_node); output_node);
std::string out_filename = xui_dir + filename; std::string out_filename = xui_dir + filename;
std::string::size_type extension_pos = out_filename.rfind(".xml"); std::string::size_type extension_pos = out_filename.rfind(".xml");
out_filename.resize(extension_pos); out_filename.resize(extension_pos);
......
...@@ -157,7 +157,7 @@ void LLFirstUse::init() ...@@ -157,7 +157,7 @@ void LLFirstUse::init()
static bool initialized = false; static bool initialized = false;
if (!initialized) if (!initialized)
{ {
LLNotifications::instance().getChannel("Hints")->connectChanged(processNotification); LLNotifications::instance().getChannel("Hints")->connectChanged(&processNotification);
} }
initialized = true; initialized = true;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment