diff --git a/src/core/appdir.cpp b/src/core/appdir.cpp index c64e183..5271f7c 100644 --- a/src/core/appdir.cpp +++ b/src/core/appdir.cpp @@ -1,3 +1,8 @@ +// system headers +#include +#include +#include + // library headers #include #include @@ -24,13 +29,14 @@ namespace linuxdeploy { class AppDir::PrivateData { public: bf::path appDirPath; + + // store deferred operations + // these can be executed by calling excuteDeferredOperations std::map copyOperations; std::map setElfRPathOperations; public: - PrivateData() { - this->copyOperations = {}; - }; + PrivateData() : copyOperations(), setElfRPathOperations() {}; public: // actually copy file