Skip to content

Commit

Permalink
remove_const
Browse files Browse the repository at this point in the history
  • Loading branch information
eggrobin committed Mar 16, 2024
1 parent 4eea88f commit 120a89b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantities/concepts.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ using namespace quantities::_quantities;

template<typename T>
concept quantity = std::integral<T> || std::floating_point<T> ||
is_instance_of_v<Quantity, T>;
is_instance_of_v<Quantity, std::remove_const_t<T>>;

} // namespace internal

Expand Down

0 comments on commit 120a89b

Please sign in to comment.