Skip to content

Commit

Permalink
Fix mapped_view with condition
Browse files Browse the repository at this point in the history
Closes #1346
  • Loading branch information
stevenwdv authored Sep 2, 2024
1 parent 6630268 commit ed7bdd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/sqlite_orm/sqlite_orm.h
Original file line number Diff line number Diff line change
Expand Up @@ -15968,7 +15968,7 @@ namespace sqlite_orm {
get_all_t<T, void, Args...> expression;

mapped_view(storage_type& storage, connection_ref conn, Args&&... args) :
storage(storage), connection(std::move(conn)), expression{std::forward<Args>(args)...} {}
storage(storage), connection(std::move(conn)), expression{{std::forward<Args>(args)...}} {}

size_t size() const {
return this->storage.template count<T>();
Expand Down

0 comments on commit ed7bdd3

Please sign in to comment.