Skip to content

Commit c18be48

Browse files
committed
try
1 parent d7c4beb commit c18be48

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

include/xtl/xbasic_fixed_string.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -918,8 +918,7 @@ namespace xtl
918918
{
919919
auto size = error_policy::check_size(static_cast<size_type>(std::distance(first, last)));
920920
m_storage.set_size(size);
921-
// std::copy_n(first, m_storage.size(), data());
922-
std::copy(first, last, data());
921+
std::copy_n(first, m_storage.size(), data());
923922
return *this;
924923
}
925924

include/xtl/xsequence.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ namespace xtl
121121
static inline R forward(const T& r)
122122
{
123123
R ret;
124-
// std::copy_n(std::begin(r), std::size(ret), std::begin(ret));
125-
std::copy(std::begin(r), std::end(r), std::begin(ret));
124+
std::copy_n(std::begin(r), std::size(r), std::begin(ret));
125+
// std::copy(std::begin(r), std::end(r), std::begin(ret));
126126
return ret;
127127
}
128128
};

0 commit comments

Comments
 (0)