aboutsummaryrefslogtreecommitdiff
path: root/lib/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util.h')
-rw-r--r--lib/util.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/util.h b/lib/util.h
index 66db0ece..3505b62f 100644
--- a/lib/util.h
+++ b/lib/util.h
@@ -54,9 +54,9 @@ using UnorderedMap = std::unordered_map<KeyT, ValT, HashQ<KeyT>>;
namespace _impl {
template <typename TT>
- constexpr inline auto IsOmittableValue = false;
+ constexpr auto IsOmittableValue = false;
template <typename TT>
- constexpr inline auto IsOmittable = IsOmittableValue<std::decay_t<TT>>;
+ constexpr auto IsOmittable = IsOmittableValue<std::decay_t<TT>>;
}
constexpr auto none = std::nullopt;
@@ -165,7 +165,7 @@ Omittable(T&&) -> Omittable<T>;
namespace _impl {
template <typename T>
- constexpr inline auto IsOmittableValue<Omittable<T>> = true;
+ constexpr auto IsOmittableValue<Omittable<T>> = true;
}
template <typename T1, typename T2>
@@ -191,7 +191,7 @@ inline auto merge(T1& lhs, const Omittable<T2>& rhs)
return true;
}
-inline constexpr auto operator"" _ls(const char* s, std::size_t size)
+constexpr auto operator"" _ls(const char* s, std::size_t size)
{
return QLatin1String(s, int(size));
}