diff options
Diffstat (limited to 'apps/hiperf/src/server.h')
-rw-r--r-- | apps/hiperf/src/server.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/hiperf/src/server.h b/apps/hiperf/src/server.h index 05407a807..d7420da48 100644 --- a/apps/hiperf/src/server.h +++ b/apps/hiperf/src/server.h @@ -21,14 +21,15 @@ namespace hiperf { class HIperfServer { public: - HIperfServer(const ServerConfiguration &conf); + explicit HIperfServer(const ServerConfiguration &conf); + ~HIperfServer(); int setup(); void run(); private: class Impl; - Impl *impl_; + std::unique_ptr<Impl> impl_; }; } // namespace hiperf
\ No newline at end of file |