summaryrefslogtreecommitdiffhomepage
path: root/api/plugin-api.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'api/plugin-api.cpp')
-rw-r--r--api/plugin-api.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/api/plugin-api.cpp b/api/plugin-api.cpp
index 3630beae..b2329f4b 100644
--- a/api/plugin-api.cpp
+++ b/api/plugin-api.cpp
@@ -56,7 +56,8 @@ bool module_status::is_ok() const
}
module_status_mixin::~module_status_mixin() = default;
-module_status::module_status(QString error) : error(std::move(error)) {}
+module_status::module_status(const QString& error) : error(error) {}
+module_status::module_status() = default;
module_status module_status_mixin::status_ok() { return {}; }
module_status module_status_mixin::error(const QString& error)