whitespaces

[skip ci]
This commit is contained in:
silverqx
2023-06-06 13:52:51 +02:00
parent 50033a309e
commit e7c070534f
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -24,12 +24,12 @@ namespace Orm
namespace Utils
{
/*! Tests if the std::hash can hash T with noexcept. */
template <class T, class = void>
template<class T, class = void>
struct IsNothrowHashable : std::false_type
{};
/*! Tests if the std::hash can hash T with noexcept. */
template <class T>
template<class T>
struct IsNothrowHashable<T, std::void_t<decltype(std::hash<T>()(
std::declval<const T &>()))>>
: std::bool_constant<noexcept(std::hash<T>()(std::declval<const T &>()))>
@@ -59,7 +59,7 @@ namespace Utils
/*! Call repeatedly to incrementally create a hash value from several
variables. */
template <typename T>
template<typename T>
inline static std::size_t &hashCombine(std::size_t &seed, const T &value)
noexcept(IsNothrowHashable<std::remove_const_t<T>>::value);
+1 -1
View File
@@ -191,7 +191,7 @@ TINYORM_END_COMMON_NAMESPACE
namespace std
{
template <typename T>
template<typename T>
struct hash<Orm::Utils::NotNull<T>>
{
std::size_t operator()(const Orm::Utils::NotNull<T> &value) const