Skip to content

Commit 16a810c

Browse files
committed
Avoid shadowing
1 parent 8884ef3 commit 16a810c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/transform_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,6 @@ using special_vector = std::vector<T, mallocator<T>>;
241241
TEST_CASE("transform_test - custom_allocator")
242242
{
243243
using namespace fplus;
244-
special_vector<int> xs = { 1, 2, 2, 3, 2 };
245-
special_vector<std::string> ys = fplus::transform([](auto x) { return std::to_string(x); }, xs);
244+
special_vector<int> cust = { 1, 2, 2, 3, 2 };
245+
special_vector<std::string> ys = fplus::transform([](auto x) { return std::to_string(x); }, cust);
246246
}

0 commit comments

Comments
 (0)