diff --git a/include/utempl/constexpr_string.hpp b/include/utempl/constexpr_string.hpp index bc14916..caf0bb8 100644 --- a/include/utempl/constexpr_string.hpp +++ b/include/utempl/constexpr_string.hpp @@ -1,5 +1,5 @@ #pragma once -#include +#include namespace utempl { template @@ -54,8 +54,8 @@ struct ConstexprString { template inline constexpr auto operator+(const ConstexprString& other) -> ConstexprString { ConstexprString response; - std::copy_n(this->begin(), Size - 1, response.begin()); - std::copy_n(other.begin(), SSize, response.begin() + Size - 1); + std::ranges::copy_n(this->begin(), Size - 1, response.begin()); + std::ranges::copy_n(other.begin(), SSize, response.begin() + Size - 1); return response; }; inline constexpr ConstexprString(const ConstexprString&) = default;