Skip to content

Commit 4d0d999

Browse files
committed
try
1 parent ccf996d commit 4d0d999

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/xtl/xbasic_fixed_string.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,8 @@ 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());
921+
// std::copy_n(first, m_storage.size(), data());
922+
std::copy(first, last, data());
922923
return *this;
923924
}
924925

0 commit comments

Comments
 (0)