Skip to content

Commit

Permalink
Also update mapped_view.h for #1346
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenwdv committed Sep 3, 2024
1 parent f51188c commit 2d089d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/mapped_view.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,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 2d089d4

Please sign in to comment.