Removed mostly unnecessary default constructor.

This commit is contained in:
hiker
2016-03-21 12:12:01 +11:00
parent ca0f66e4f8
commit e1ce01b5d2
2 changed files with 3 additions and 3 deletions

View File

@@ -127,7 +127,6 @@ private:
static SortOrder m_sort_order;
public:
Addon() {};
/** Initialises the object from an XML node. */
Addon(const XMLNode &xml);

View File

@@ -45,9 +45,10 @@ using namespace irr::gui;
*/
AddonsLoading::AddonsLoading(const std::string &id)
: ModalDialog(0.8f, 0.8f)
: ModalDialog(0.8f, 0.8f),
m_addon(*(addons_manager->getAddon(id)) )
{
m_addon = *(addons_manager->getAddon(id));
m_icon_shown = false;
m_download_request = NULL;