summaryrefslogtreecommitdiff
path: root/src/ipa/raspberrypi/controller/algorithm.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa/raspberrypi/controller/algorithm.hpp')
-rw-r--r--src/ipa/raspberrypi/controller/algorithm.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ipa/raspberrypi/controller/algorithm.hpp b/src/ipa/raspberrypi/controller/algorithm.hpp
index 6196b2f9..5123c87b 100644
--- a/src/ipa/raspberrypi/controller/algorithm.hpp
+++ b/src/ipa/raspberrypi/controller/algorithm.hpp
@@ -12,9 +12,7 @@
#include <string>
#include <memory>
#include <map>
-#include <atomic>
-#include "logging.hpp"
#include "controller.hpp"
#include <boost/property_tree/ptree.hpp>
@@ -30,7 +28,7 @@ public:
: controller_(controller), paused_(false)
{
}
- virtual ~Algorithm() {}
+ virtual ~Algorithm() = default;
virtual char const *Name() const = 0;
virtual bool IsPaused() const { return paused_; }
virtual void Pause() { paused_ = true; }
@@ -47,7 +45,7 @@ public:
private:
Controller *controller_;
- std::atomic<bool> paused_;
+ bool paused_;
};
// This code is for automatic registration of Front End algorithms with the