diff --git a/src/ui/progress_indicator.hpp b/src/ui/progress_indicator.hpp
index a1ee6424d5144068ed2faba00c183d4079254b68..4827fb92729cd08e989adbb15fd3acbfaceee5af 100644
--- a/src/ui/progress_indicator.hpp
+++ b/src/ui/progress_indicator.hpp
@@ -10,6 +10,7 @@ namespace rmrf::ui {
  */
 class progress_indicator {
 public:
+	virtual ~progress_indicator();
 	/**
 	 * Query the progress state
 	 * @return The current progress in percent
@@ -29,12 +30,12 @@ public:
 	 * This method shall be used in order to obtain the
 	 * description of the total operation.
 	 */
-	virtual shared_ptr<string> get_operation_description();
+	virtual std::shared_ptr<std::string> get_operation_description();
 	/**
 	 * This method shall be used in order to retrieve a
 	 * description of the current step.
 	 */
-	virtual shared_ptr<string> get_current_job_description();
+	virtual std::shared_ptr<std::string> get_current_job_description();
 };
 
 }
diff --git a/src/ui/view.hpp b/src/ui/view.hpp
index 200894308ae1c2897b3b2b3d1b2910c9ccab3fd3..e0d191146f30f3c4eaef30f47faa4493c9f383c9 100644
--- a/src/ui/view.hpp
+++ b/src/ui/view.hpp
@@ -43,6 +43,7 @@ public:
 class view {
 public:
     virtual void set_progress_indicator(std::shared_ptr<progress_indicator>);
+    virtual ~view();
 };
 
 }