Skip to content

Commit

Permalink
Update vectorFunctions.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
PancernyJez authored Jul 16, 2024
1 parent be4725b commit d700dfa
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions homework/vector-of-shared-ptrs/vectorFunctions.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <vector>
#include <memory>

#include <iostream>
std::vector<std::shared_ptr<int>> generate(int count) {
std::vector<std::shared_ptr<int>> vec;
for (int i = 0; i < count; i++) {
Expand Down Expand Up @@ -31,7 +31,4 @@ std::vector<std::shared_ptr<int>> generate(int count) {
sub10(x);
}
}





0 comments on commit d700dfa

Please sign in to comment.