* linux编译修正

This commit is contained in:
2026-03-10 12:11:30 +08:00
parent a0b1b87ba2
commit 879751bcd4
+2 -2
View File
@@ -57,13 +57,13 @@ public:
constexpr T& at(size_t i)
{
if (i >= N)
throw std::out_of_range();
throw std::out_of_range("dl::Array::at outrange");
return _data[i];
}
constexpr const T& at(size_t i) const
{
if (i >= N)
throw std::out_of_range();
throw std::out_of_range("dl::Array::at outrange");
return _data[i];
}