summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdbx/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dbx_mdbx/src/stdafx.h')
-rw-r--r--plugins/Dbx_mdbx/src/stdafx.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Dbx_mdbx/src/stdafx.h b/plugins/Dbx_mdbx/src/stdafx.h
index 424f3cd4f3..a8918e9b80 100644
--- a/plugins/Dbx_mdbx/src/stdafx.h
+++ b/plugins/Dbx_mdbx/src/stdafx.h
@@ -70,25 +70,25 @@ public:
{
if (txn) {
/* FIXME: see https://github.com/leo-yuriev/libfpta/blob/77a7251fde2030165a3916ee68fd86a1374b3dd8/src/common.cxx#L370 */
- abort();
+ Abort();
}
}
__forceinline operator MDBX_txn*() const { return txn; }
- __forceinline int commit()
+ __forceinline int Commit()
{
int rc = mdbx_txn_commit(txn);
if (rc != MDBX_SUCCESS) {
/* FIXME: throw an exception */
- abort();
+ Abort();
return rc;
}
txn = nullptr;
return MDBX_SUCCESS;
}
- __forceinline void abort()
+ __forceinline void Abort()
{
int rc = mdbx_txn_abort(txn);
/* FIXME: throw an exception */