summaryrefslogtreecommitdiff
path: root/src/d/flag/committable_flag_manager.inc
blob: 8bf86ba7f8c4f36bfbf4b1565328aaee4c273c0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "d/flag/committable_flag_manager.h"

/* 0x800BE7B0 */
bool CommittableFlagManager::commit() {
    if (mNeedsCommit) {
        doCommit();
        mNeedsCommit = false;
        return true;
    } else {
        return false;
    }
}