From 56277ae6dad4a258f377eff6c2c9c25b80e87844 Mon Sep 17 00:00:00 2001
From: dianwoshishi <625806114@qq.com>
Date: Tue, 8 Feb 2022 15:32:38 +0800
Subject: [PATCH] build: fix errors when compiling example_cpp (#426)

---
 plugins/example_cpp/source/plugin_example.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/example_cpp/source/plugin_example.cpp b/plugins/example_cpp/source/plugin_example.cpp
index fef91a797..77e02aaec 100644
--- a/plugins/example_cpp/source/plugin_example.cpp
+++ b/plugins/example_cpp/source/plugin_example.cpp
@@ -1,5 +1,5 @@
 #include <hex/plugin.hpp>
-
+#include <hex/api/content_registry.hpp>
 #include <hex/ui/view.hpp>
 
 class ViewExample : public hex::View {
@@ -17,5 +17,5 @@ public:
 
 IMHEX_PLUGIN_SETUP("Example C++", "WerWolv", "Example C++ plugin used as template for plugin devs") {
 
-    ContentRegistry::Views::add<ViewExample>();
+    hex::ContentRegistry::Views::add<ViewExample>();
 }