@@ -91,7 +91,7 @@ std::shared_ptr<CountAggregate> Expressions::Count(std::string name) {
9191std::shared_ptr<CountAggregate> Expressions::Count (
9292 std::shared_ptr<UnboundTerm<BoundReference>> expr) {
9393 ICEBERG_ASSIGN_OR_THROW (auto agg, CountAggregate::Count (std::move (expr)));
94- return std::shared_ptr<CountAggregate> {std::move (agg)};
94+ return {std::move (agg)};
9595}
9696
9797std::shared_ptr<CountAggregate> Expressions::CountNull (std::string name) {
@@ -101,7 +101,7 @@ std::shared_ptr<CountAggregate> Expressions::CountNull(std::string name) {
101101std::shared_ptr<CountAggregate> Expressions::CountNull (
102102 std::shared_ptr<UnboundTerm<BoundReference>> expr) {
103103 ICEBERG_ASSIGN_OR_THROW (auto agg, CountAggregate::CountNull (std::move (expr)));
104- return std::shared_ptr<CountAggregate> {std::move (agg)};
104+ return {std::move (agg)};
105105}
106106
107107std::shared_ptr<CountAggregate> Expressions::CountNotNull (std::string name) {
@@ -111,12 +111,12 @@ std::shared_ptr<CountAggregate> Expressions::CountNotNull(std::string name) {
111111std::shared_ptr<CountAggregate> Expressions::CountNotNull (
112112 std::shared_ptr<UnboundTerm<BoundReference>> expr) {
113113 ICEBERG_ASSIGN_OR_THROW (auto agg, CountAggregate::Count (std::move (expr)));
114- return std::shared_ptr<CountAggregate> {std::move (agg)};
114+ return {std::move (agg)};
115115}
116116
117117std::shared_ptr<CountAggregate> Expressions::CountStar () {
118118 auto agg = CountAggregate::CountStar ();
119- return std::shared_ptr<CountAggregate> {std::move (agg)};
119+ return {std::move (agg)};
120120}
121121
122122std::shared_ptr<ValueAggregate> Expressions::Max (std::string name) {
@@ -126,7 +126,7 @@ std::shared_ptr<ValueAggregate> Expressions::Max(std::string name) {
126126std::shared_ptr<ValueAggregate> Expressions::Max (
127127 std::shared_ptr<UnboundTerm<BoundReference>> expr) {
128128 ICEBERG_ASSIGN_OR_THROW (auto agg, ValueAggregate::Max (std::move (expr)));
129- return std::shared_ptr<ValueAggregate> {std::move (agg)};
129+ return {std::move (agg)};
130130}
131131
132132std::shared_ptr<ValueAggregate> Expressions::Min (std::string name) {
@@ -136,7 +136,7 @@ std::shared_ptr<ValueAggregate> Expressions::Min(std::string name) {
136136std::shared_ptr<ValueAggregate> Expressions::Min (
137137 std::shared_ptr<UnboundTerm<BoundReference>> expr) {
138138 ICEBERG_ASSIGN_OR_THROW (auto agg, ValueAggregate::Min (std::move (expr)));
139- return std::shared_ptr<ValueAggregate> {std::move (agg)};
139+ return {std::move (agg)};
140140}
141141
142142// Template implementations for unary predicates
0 commit comments