We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9616dbb commit b813cb9Copy full SHA for b813cb9
sqlite3pp_ez.cpp
@@ -1237,7 +1237,7 @@ namespace sqlite3pp
1237
myfile << "\t// Function to test displaying content of all tables & views." << std::endl;
1238
myfile << "\tvoid testAllTables()\n\t{" << std::endl;
1239
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;
+ myfile << "\t\tfor (auto& t : myTables)\n\t\t\tt.second->out(std::wcout);" << std::endl;
1241
myfile << "\t}" << std::endl;
1242
1243
myfile << "}" << std::endl;
0 commit comments