Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
orbitcowboy committed Aug 5, 2024
1 parent efb5b48 commit b119bbc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/cfg/std.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4990,9 +4990,9 @@ void smartPtr_get2(std::vector<std::unique_ptr<int>>& v)
}

bool smartPtr_get3(size_t n, size_t i) { // #12748
std::unique_ptr<int[]> buf = std::make_unique<int[]>(n);
const int* p = buf.get() + i;
return p != nullptr;
std::unique_ptr<int[]> buf = std::make_unique<int[]>(n);
const int* p = buf.get() + i;
return p != nullptr;
}

void smartPtr_reset()
Expand Down Expand Up @@ -5104,7 +5104,7 @@ std::vector<int> containerOutOfBounds_push_back() { // #12775
return v;
}

template <typename T>
template<typename T>
void constVariablePointer_push_back(std::vector<T*>& d, const std::vector<T*>& s) {
for (const auto& e : s) {
T* newE = new T(*e);
Expand Down

0 comments on commit b119bbc

Please sign in to comment.