1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-25 23:21:29 +03:00

M #-: Fix compilation

This commit is contained in:
Ruben S. Montero 2020-06-29 12:34:32 +02:00
parent a3d8d4a65e
commit b52766c423
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -35,7 +35,6 @@ int MarketPlaceManager::import_app(
std::string& err)
{
std::string app_data, image_data, ds_data;
std::string * drv_msg;
Image * image;
Datastore * ds;
@ -107,11 +106,13 @@ int MarketPlaceManager::import_app(
goto error_type;
}
unique_ptr<string> drv_msg(format_message(app_data, market_data,
image_data + ds_data));
{
unique_ptr<string> drv_msg(format_message(app_data, market_data,
image_data + ds_data));
msg.payload(*drv_msg);
mpmd->write(msg);
msg.payload(*drv_msg);
mpmd->write(msg);
}
return 0;