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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

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