Changeset 0c1d3ea


Ignore:
Timestamp:
10/02/17 23:03:50 (5 years ago)
Author:
Philipp Spitzer <philipp@…>
Branches:
master
Children:
0816326
Parents:
c793b28
git-author:
Philipp Spitzer <philipp@…> (10/02/17 22:19:57)
git-committer:
Philipp Spitzer <philipp@…> (10/02/17 23:03:50)
Message:

C++98 compatibility: Variable initialization in TransactionRaii? class.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sql/sqlengine.h

    rc793b28 r0c1d3ea  
    8686class TransactionRaii {
    8787    SqlEngine& sqlEngine;
    88     bool committed = false;
     88    bool committed;
    8989public:
    90     TransactionRaii(SqlEngine& sqlEngine): sqlEngine(sqlEngine) {
     90    TransactionRaii(SqlEngine& sqlEngine): sqlEngine(sqlEngine), committed(false) {
    9191        sqlEngine.beginTransaction();
    9292    }
Note: See TracChangeset for help on using the changeset viewer.