build: fix errors when compiling example_cpp (#426)

This commit is contained in:
dianwoshishi
2022-02-08 15:32:38 +08:00
committed by GitHub
parent a52fee2248
commit 56277ae6da

View File

@@ -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>();
}