mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 02:27:09 -07:00
Mark constructors as explicit
This commit is contained in:
parent
94998b5da0
commit
2a84345835
16 changed files with 61 additions and 53 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue