Skip to content

Commit b813cb9

Browse files
Update sqlite3pp_ez.cpp
1 parent 9616dbb commit b813cb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlite3pp_ez.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1237,7 +1237,7 @@ namespace sqlite3pp
12371237
myfile << "\t// Function to test displaying content of all tables & views." << std::endl;
12381238
myfile << "\tvoid testAllTables()\n\t{" << std::endl;
12391239
myfile << "\t\tstd::map< std::string, std::shared_ptr < sqlite3pp::TableBase>> myTables = sqlite3pp::testPopulatingAllTables();" << std::endl;
1240-
myfile << "\t\tfor (auto t : myTables)\n\t\t\tt.second->out(std::wcout);" << std::endl;
1240+
myfile << "\t\tfor (auto& t : myTables)\n\t\t\tt.second->out(std::wcout);" << std::endl;
12411241
myfile << "\t}" << std::endl;
12421242

12431243
myfile << "}" << std::endl;

0 commit comments

Comments
 (0)