mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 16:07:23 -06:00
Mark constructors as explicit
This commit is contained in:
@@ -56,14 +56,14 @@ struct QBtCommandLineParameters
|
||||
QStringList torrents;
|
||||
QString profileDir, configurationName, savePath, category, unknownParameter;
|
||||
|
||||
QBtCommandLineParameters(const QProcessEnvironment&);
|
||||
explicit QBtCommandLineParameters(const QProcessEnvironment&);
|
||||
QStringList paramList() const;
|
||||
};
|
||||
|
||||
class CommandLineParameterError : public std::runtime_error
|
||||
{
|
||||
public:
|
||||
CommandLineParameterError(const QString &messageForUser);
|
||||
explicit CommandLineParameterError(const QString &messageForUser);
|
||||
const QString &messageForUser() const;
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user