Replace explicit type declarations with automatic inference

This commit is contained in:
Marko Zivanovic
2015-09-04 10:26:50 +02:00
parent 2a0d9cfafe
commit 923765c0f3
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ BOOST_AUTO_TEST_CASE(test_run) {
SyslogBulkUploader ul(r, w);
ul.run();
BOOST_CHECK_EQUAL(w._messages.size(), 3);
for (size_t i = 0; i < w._messages.size(); i++) {
for (auto i = 0; i < w._messages.size(); i++) {
std::cout << *(w._messages[i].get()) << std::endl;
}
}