clean-up
This commit is contained in:
parent
d06a1c717a
commit
27c2aeb6bb
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ class [[nodiscard]] cstring {
|
||||||
using reverse_iterator = std::reverse_iterator<iterator>;
|
using reverse_iterator = std::reverse_iterator<iterator>;
|
||||||
using const_reverse_iterator = std::reverse_iterator<const_iterator>;
|
using const_reverse_iterator = std::reverse_iterator<const_iterator>;
|
||||||
|
|
||||||
explicit constexpr cstring(std::string_view str) noexcept : chars_{} {
|
constexpr explicit cstring(std::string_view str) noexcept : chars_{} {
|
||||||
assert(str.size() == N);
|
assert(str.size() == N);
|
||||||
for (std::size_t i = 0; i < N; ++i) {
|
for (std::size_t i = 0; i < N; ++i) {
|
||||||
chars_[i] = str[i];
|
chars_[i] = str[i];
|
||||||
|
|
Loading…
Reference in a new issue