Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Martchus committed Feb 28, 2022
1 parent f6fd781 commit 4580d72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lmdb-safe.cc
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ void MDBROTransactionImpl::commit()
if (d_txn) {
d_parent->decROTX();
if (const auto rc = mdb_txn_commit(d_txn)) { // this appears to work better than abort for r/o database opening
throw LMDBError("Error comitting transaction: ", rc);
throw LMDBError("Error committing transaction: ", rc);
}
d_txn = nullptr;
}
Expand Down
2 changes: 1 addition & 1 deletion lmdb-typed.hh
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ template <class Class, typename Type, class Func> struct index_on_function : LMD
*
* Open issues:
* - Perhaps use the separate index concept from multi_index.
* - Perhaps get eiter to be of same type so for(auto& a : x) works
* - Perhaps get either to be of same type so for(auto& a : x) works
* make it more value "like" with unique_ptr.
*/
template <typename T, typename... I> class LMDB_SAFE_EXPORT TypedDBI {
Expand Down

0 comments on commit 4580d72

Please sign in to comment.