Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
Fixed spelling of "limit_accesor" -> "limit_accessor"
Browse files Browse the repository at this point in the history
  • Loading branch information
trueqbit committed Apr 25, 2022
1 parent b548905 commit baa42da
Show file tree
Hide file tree
Showing 3 changed files with 177 additions and 172 deletions.
4 changes: 2 additions & 2 deletions dev/limit_accesor.h → dev/limit_accessor.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ namespace sqlite_orm {

namespace internal {

struct limit_accesor {
struct limit_accessor {
using get_connection_t = std::function<connection_ref()>;

limit_accesor(get_connection_t get_connection_) : get_connection(std::move(get_connection_)) {}
limit_accessor(get_connection_t get_connection_) : get_connection(std::move(get_connection_)) {}

int length() {
return this->get(SQLITE_LIMIT_LENGTH);
Expand Down
4 changes: 2 additions & 2 deletions dev/storage_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <type_traits> // std::decay, std::is_same

#include "pragma.h"
#include "limit_accesor.h"
#include "limit_accessor.h"
#include "transaction_guard.h"
#include "statement_finalizer.h"
#include "tuple_helper/tuple_helper.h"
Expand All @@ -33,7 +33,7 @@ namespace sqlite_orm {

std::function<void(sqlite3*)> on_open;
pragma_t pragma;
limit_accesor limit;
limit_accessor limit;

transaction_guard_t transaction_guard() {
this->begin_transaction();
Expand Down
Loading

0 comments on commit baa42da

Please sign in to comment.