Skip to content

Commit

Permalink
noexplicit
Browse files Browse the repository at this point in the history
  • Loading branch information
jngrad committed Jun 14, 2024
1 parent 35c2a09 commit 76f1c35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/include/utils/Vector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ template <typename T, std::size_t N> class Vector : public Array<T, N> {
copy_init(std::begin(v), std::end(v));
}

explicit Vector(std::span<T> span) : Base() {
constexpr Vector(std::span<T> span) : Base() {
if (span.size() != N) {
throw std::length_error(
"Construction of Vector from Container of wrong length.");
Expand Down

0 comments on commit 76f1c35

Please sign in to comment.