src/typesystemtransaction.cpp
/*!
 * \fn void commit()
 * \brief Ends the currently active transaction and validate all changes.
 */
\fn void commit()
\brief Ends the currently active transaction and validate all changes.
\ fn void commit () \ brief Ends the currently active transaction and validate all changes .
void TypeSystemTransaction::commit()
{
  TypeSystemListener::typeSystem()->removeListener(this);
  m_types.clear();
  if (m_target->impl()->active_transaction == this)
  {
    m_target->impl()->active_transaction = nullptr;
  }
}
void TypeSystemTransaction :: commit ( ) { TypeSystemListener :: typeSystem ( ) -> removeListener ( this ) ; m_types . clear ( ) ; if ( m_target -> impl ( ) -> active_transaction == this ) { m_target -> impl ( ) -> active_transaction = nullptr ; } }
\fn void commit()
 \brief Ends the currently active transaction and validate all changes.
\ fn void commit () \ brief Ends the currently active transaction and validate all changes .