refactor: conversion from quantity to quantity_point is now explicit

This commit is contained in:
Mateusz Pusz
2023-05-24 22:42:11 +02:00
parent a3e5c84a47
commit 299032a7e8
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ public:
template<typename T>
requires std::constructible_from<quantity_type, T>
constexpr explicit(!std::convertible_to<T, quantity_type>) quantity_point(T&& v) : q_(std::forward<T>(v))
constexpr explicit quantity_point(T&& v) : q_(std::forward<T>(v))
{
}