aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugin/system/Plugin.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-10-16 21:08:57 +0000
committersaturneric <[email protected]>2023-10-16 21:08:57 +0000
commitcc35ceff23accb44e25dfc47dae920f578836804 (patch)
tree02851ce7e8c2dac0d1492f58c9aed08aa2da2572 /src/plugin/system/Plugin.cpp
parentrefactor: use c++17 features and piml tech to rewrite DataObject and Task (diff)
downloadGpgFrontend-cc35ceff23accb44e25dfc47dae920f578836804.tar.gz
GpgFrontend-cc35ceff23accb44e25dfc47dae920f578836804.zip
fix: solve compile and link issues
Diffstat (limited to '')
-rw-r--r--src/plugin/system/Plugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugin/system/Plugin.cpp b/src/plugin/system/Plugin.cpp
index 479ee75c..ac10953a 100644
--- a/src/plugin/system/Plugin.cpp
+++ b/src/plugin/system/Plugin.cpp
@@ -60,7 +60,7 @@ class Plugin::Impl {
PluginIdentifier GetPluginIdentifier() const { return identifier_; }
- PluginIdentifier SetGPC(GlobalPluginContextPtr gpc) { gpc_ = gpc; }
+ void SetGPC(GlobalPluginContextPtr gpc) { gpc_ = gpc; }
private:
GlobalPluginContextPtr gpc_;
@@ -101,5 +101,5 @@ PluginIdentifier Plugin::GetPluginIdentifier() const {
return p_->GetPluginIdentifier();
}
-PluginIdentifier Plugin::SetGPC(GlobalPluginContextPtr gpc) { p_->SetGPC(gpc); }
+void Plugin::SetGPC(GlobalPluginContextPtr gpc) { p_->SetGPC(gpc); }
} // namespace GpgFrontend::Plugin \ No newline at end of file