diff --git a/include/albert/plugindependency.h b/include/albert/plugindependency.h index 87be408b..2e6dc22f 100644 --- a/include/albert/plugindependency.h +++ b/include/albert/plugindependency.h @@ -23,6 +23,8 @@ class ALBERT_EXPORT Dependency inline operator bool() const { return dependency != nullptr; } const T* operator->() const { return dependency; } T* operator->() { return dependency; } + const T* get() const { return dependency; } + T* get() { return dependency; } protected: