summaryrefslogtreecommitdiffhomepage
path: root/api/plugin-api.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-02-02 00:50:04 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-02-02 00:50:04 +0100
commit6d40b2fcdbc2b66fcb0a62b48151035e3aa293d5 (patch)
treef7ca40d36c9df79adaf0089ddeb9fdd7ba7c9e5c /api/plugin-api.hpp
parent615ff19cd9c0532084fb5ce64005d99d0b2f19f1 (diff)
api/plugin: add explicit to module_status error ctor
Diffstat (limited to 'api/plugin-api.hpp')
-rw-r--r--api/plugin-api.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/api/plugin-api.hpp b/api/plugin-api.hpp
index 1bfce7d5..137ee46d 100644
--- a/api/plugin-api.hpp
+++ b/api/plugin-api.hpp
@@ -97,7 +97,8 @@ struct OTR_API_EXPORT module_status final
QString error;
bool is_ok() const;
- module_status(QString error = {});
+ module_status();
+ explicit module_status(const QString& error);
};
/*