refactor: conversion from quantity to quantity_point is now explicit

This commit is contained in:
Mateusz Pusz committed 2023-05-24 22:42:11 +02:00
1 parent a3e5c84a47
commit 299032a7e8
3 files changed
+8 -8

No files matched your search

+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))
{
}