diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2019-02-02 00:50:04 +0100 | 
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-02-02 00:50:04 +0100 | 
| commit | 6d40b2fcdbc2b66fcb0a62b48151035e3aa293d5 (patch) | |
| tree | f7ca40d36c9df79adaf0089ddeb9fdd7ba7c9e5c /api/plugin-api.hpp | |
| parent | 615ff19cd9c0532084fb5ce64005d99d0b2f19f1 (diff) | |
api/plugin: add explicit to module_status error ctor
Diffstat (limited to 'api/plugin-api.hpp')
| -rw-r--r-- | api/plugin-api.hpp | 3 | 
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);  };  /*  | 
