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.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/api/plugin-api.cpp b/api/plugin-api.cpp
index 004938f1..0ce321c7 100644
--- a/api/plugin-api.cpp
+++ b/api/plugin-api.cpp
@@ -1,5 +1,6 @@
#include "plugin-api.hpp"
-#include "compat/macros.hpp"
+
+#include <utility>
using namespace plugin_api::detail;
@@ -63,7 +64,7 @@ bool module_status::is_ok() const
return error.isNull();
}
-module_status::module_status(const QString& error) : error(error) {}
+module_status::module_status(QString error) : error(std::move(error)) {}
module_status module_status_mixin::status_ok() { return module_status(); }