aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/CommandHandlerRegistry.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiling/CommandHandlerRegistry.hpp')
-rw-r--r--src/profiling/CommandHandlerRegistry.hpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/profiling/CommandHandlerRegistry.hpp b/src/profiling/CommandHandlerRegistry.hpp
index ba81f1790f..61d45b0fd2 100644
--- a/src/profiling/CommandHandlerRegistry.hpp
+++ b/src/profiling/CommandHandlerRegistry.hpp
@@ -9,8 +9,15 @@
#include "CommandHandlerKey.hpp"
#include <boost/functional/hash.hpp>
+
#include <unordered_map>
+namespace armnn
+{
+
+namespace profiling
+{
+
struct CommandHandlerHash
{
std::size_t operator() (const CommandHandlerKey& commandHandlerKey) const
@@ -33,4 +40,8 @@ public:
private:
std::unordered_map<CommandHandlerKey, CommandHandlerFunctor*, CommandHandlerHash> registry;
-}; \ No newline at end of file
+};
+
+} // namespace profiling
+
+} // namespace armnn