diff options
author | Naushir Patuck <naush@raspberrypi.com> | 2020-09-24 10:19:25 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2020-09-29 12:35:17 +0100 |
commit | 2f46dec94936e190098a6d0b5380137b025575b9 (patch) | |
tree | 3d5c200fcf0bdebb43aed1a70849911639d21a5d /src/ipa/raspberrypi/controller/algorithm.cpp | |
parent | 2ba3c68b6792204384bfe2b573494fc5b9a7b48a (diff) |
ipa: raspberrypi: Rename the controller namespace from Rpi to RpiController
This avoids a namespace clash with the RPi namespace used by the ipa and
pipeline handlers, and cleans up the syntax slightly.
There are no functional changes in this commit.
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/ipa/raspberrypi/controller/algorithm.cpp')
-rw-r--r-- | src/ipa/raspberrypi/controller/algorithm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipa/raspberrypi/controller/algorithm.cpp b/src/ipa/raspberrypi/controller/algorithm.cpp index 1b80e296..43ad0a2b 100644 --- a/src/ipa/raspberrypi/controller/algorithm.cpp +++ b/src/ipa/raspberrypi/controller/algorithm.cpp @@ -7,7 +7,7 @@ #include "algorithm.hpp" -using namespace RPi; +using namespace RPiController; void Algorithm::Read([[maybe_unused]] boost::property_tree::ptree const ¶ms) { @@ -32,7 +32,7 @@ void Algorithm::Process([[maybe_unused]] StatisticsPtr &stats, // For registering algorithms with the system: static std::map<std::string, AlgoCreateFunc> algorithms; -std::map<std::string, AlgoCreateFunc> const &RPi::GetAlgorithms() +std::map<std::string, AlgoCreateFunc> const &RPiController::GetAlgorithms() { return algorithms; } |