Skip to content

Commit

Permalink
fix: export PluginManager virtual function
Browse files Browse the repository at this point in the history
  • Loading branch information
OEOTYAN committed Jan 29, 2024
1 parent d31cfcd commit 7ab056f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/ll/api/plugin/PluginManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ class PluginManager {

LLAPI bool erasePlugin(std::string_view name);

virtual ~PluginManager();
LLAPI virtual ~PluginManager();

virtual bool load(Manifest manifest) = 0;

virtual bool unload(std::string_view name) = 0;

virtual bool enable(std::string_view name);
LLAPI virtual bool enable(std::string_view name);

virtual bool disable(std::string_view name);
LLAPI virtual bool disable(std::string_view name);
};
} // namespace ll::plugin
1 change: 0 additions & 1 deletion src/ll/api/service/Service.cpp

This file was deleted.

4 changes: 1 addition & 3 deletions src/ll/api/service/Service.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace ll::service {

class Service {
public:
LLAPI virtual ~Service() = 0;
virtual ~Service() = default;

[[nodiscard]] virtual ServiceId getServiceId() const noexcept = 0;

Expand All @@ -22,8 +22,6 @@ class Service {
Service& operator=(Service&&) = delete;
};

inline Service::~Service() = default;

template <class T>
concept IsService = std::is_base_of_v<Service, T> && requires {
T::ServiceId;
Expand Down

0 comments on commit 7ab056f

Please sign in to comment.