Skip to content

Commit 2995e50

Browse files
committed
Use consistent style [skip ci]
1 parent 098d0a7 commit 2995e50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/disco/example.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ int main() {
8989
std::string movie = "Star Wars (1977)";
9090
std::cout << "Item-based recommendations for " << movie << std::endl;
9191
pqxx::result result = tx.exec("SELECT name FROM movies WHERE name != $1 ORDER BY factors <=> (SELECT factors FROM movies WHERE name = $1) LIMIT 5", pqxx::params{movie});
92-
for (auto const& row : result) {
92+
for (const auto& row : result) {
9393
std::cout << "- " << row[0].as<std::string>() << std::endl;
9494
}
9595

0 commit comments

Comments
 (0)