Workaround for a compiler bug on the ancient g++-4.8.5

This commit is contained in:
Bill Somerville 2018-11-15 01:31:21 +00:00
parent b7b30452b1
commit 44710d13ba

View File

@ -25,7 +25,7 @@ class ConditionalTransaction final
{ {
public: public:
explicit ConditionalTransaction (QSqlTableModel& model) explicit ConditionalTransaction (QSqlTableModel& model)
: model_ {model} : model_ (model)
, submitted_ {false} , submitted_ {false}
{ {
model_.database ().transaction (); model_.database ().transaction ();