Remove boost dependency
[platform/core/appfw/app-installers.git] / src / common / step / security / step_revoke_security.cc
index ec5bf38..ac5c09d 100644 (file)
@@ -4,7 +4,6 @@
 
 #include "common/step/security/step_revoke_security.h"
 
-#include <boost/filesystem.hpp>
 #include <string>
 
 #include "common/security_registration.h"
@@ -35,7 +34,7 @@ Step::Status StepRevokeSecurity::clean() {
                << context_->pkgid.get();
     if (!error_message.empty()) {
       LOG(ERROR) << "error_message: " << error_message;
-      on_error(Status::SECURITY_ERROR, error_message);
+      on_error_->on_error(Status::SECURITY_ERROR, error_message);
     }
   } else {
     LOG(DEBUG) << "Security context uninstalled";