summaryrefslogtreecommitdiffstats
path: root/fastos/src/vespa/fastos/unix_app.h
diff options
context:
space:
mode:
Diffstat (limited to 'fastos/src/vespa/fastos/unix_app.h')
-rw-r--r--fastos/src/vespa/fastos/unix_app.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fastos/src/vespa/fastos/unix_app.h b/fastos/src/vespa/fastos/unix_app.h
index 0c51b268299..5bb6f14ad26 100644
--- a/fastos/src/vespa/fastos/unix_app.h
+++ b/fastos/src/vespa/fastos/unix_app.h
@@ -11,6 +11,7 @@
#include "types.h"
#include "app.h"
+#include <memory>
class FastOS_UNIX_ProcessStarter;
class FastOS_UNIX_IPCHelper;
@@ -25,7 +26,7 @@ private:
FastOS_UNIX_Application(const FastOS_UNIX_Application&);
FastOS_UNIX_Application& operator=(const FastOS_UNIX_Application&);
- FastOS_UNIX_ProcessStarter *_processStarter;
+ std::unique_ptr<FastOS_UNIX_ProcessStarter> _processStarter;
FastOS_UNIX_IPCHelper *_ipcHelper;
protected: