diff --git a/futurerestore/futurerestore.cpp b/futurerestore/futurerestore.cpp index 3a3e5da1..c6548469 100644 --- a/futurerestore/futurerestore.cpp +++ b/futurerestore/futurerestore.cpp @@ -20,6 +20,7 @@ #endif #include +#include extern "C"{ #include "common.h" @@ -553,7 +554,7 @@ void futurerestore::enterPwnRecovery(plist_t build_identity, std::string bootarg if(!iBEC.first) { info("Patching iBEC\n"); iBEC = getIPSWComponent(_client, build_identity, "iBEC"); - iBEC = move(libipatcher::patchiBEC((char*)iBEC.first, iBEC.second, iBECKeys, bootargs)); + iBEC = move(libipatcher::patchiBEC((char*)iBEC.first, iBEC.second, iBECKeys, std::move(bootargs))); } if (_client->image4supported) {