Try to make Travis happy
This commit is contained in:
parent
c19a9c2ad9
commit
30e6214f1c
|
@ -10,22 +10,22 @@ static QString formatFunctionName(QString f)
|
|||
return f;
|
||||
}
|
||||
|
||||
FunctionContractDialog::FunctionContractDialog(QWidget *parent, QString name, QString expects) :
|
||||
FunctionContractDialog::FunctionContractDialog(QWidget *parent, const QString &name, const QString &expects) :
|
||||
QDialog(parent),
|
||||
ui(new Ui::FunctionContractDialog)
|
||||
mUi(new Ui::FunctionContractDialog)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
ui->functionName->setText(formatFunctionName(name));
|
||||
ui->expects->setPlainText(expects);
|
||||
mUi->setupUi(this);
|
||||
mUi->functionName->setText(formatFunctionName(name));
|
||||
mUi->expects->setPlainText(expects);
|
||||
}
|
||||
|
||||
FunctionContractDialog::~FunctionContractDialog()
|
||||
{
|
||||
delete ui;
|
||||
delete mUi;
|
||||
}
|
||||
|
||||
QString FunctionContractDialog::getExpects() const
|
||||
{
|
||||
return ui->expects->toPlainText();
|
||||
return mUi->expects->toPlainText();
|
||||
}
|
||||
|
||||
|
|
|
@ -11,11 +11,11 @@ class FunctionContractDialog : public QDialog {
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit FunctionContractDialog(QWidget *parent, QString name, QString expects);
|
||||
explicit FunctionContractDialog(QWidget *parent, const QString &name, const QString &expects);
|
||||
~FunctionContractDialog();
|
||||
QString getExpects() const;
|
||||
private:
|
||||
Ui::FunctionContractDialog *ui;
|
||||
Ui::FunctionContractDialog *mUi;
|
||||
};
|
||||
|
||||
#endif // FUNCTIONCONTRACTDIALOG_H
|
||||
|
|
|
@ -201,7 +201,7 @@ public:
|
|||
mMaxCtuDepth = maxCtuDepth;
|
||||
}
|
||||
|
||||
const std::map<std::string,std::string> getFunctionContracts() const {
|
||||
const std::map<std::string,std::string>& getFunctionContracts() const {
|
||||
return mFunctionContracts;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue