|
|
@@ -111,7 +111,7 @@ public:
|
|
|
}
|
|
|
|
|
|
template<typename ILhs, typename IRhs>
|
|
|
- friend auto operator-(const storage_proxy_iterator<ILhs> &, const storage_proxy_iterator<IRhs> &) ENTT_NOEXCEPT;
|
|
|
+ friend std::ptrdiff_t operator-(const storage_proxy_iterator<ILhs> &, const storage_proxy_iterator<IRhs> &) ENTT_NOEXCEPT;
|
|
|
|
|
|
template<typename ILhs, typename IRhs>
|
|
|
friend bool operator==(const storage_proxy_iterator<ILhs> &, const storage_proxy_iterator<IRhs> &) ENTT_NOEXCEPT;
|
|
|
@@ -124,7 +124,7 @@ private:
|
|
|
};
|
|
|
|
|
|
template<typename ILhs, typename IRhs>
|
|
|
-[[nodiscard]] auto operator-(const storage_proxy_iterator<ILhs> &lhs, const storage_proxy_iterator<IRhs> &rhs) ENTT_NOEXCEPT {
|
|
|
+[[nodiscard]] std::ptrdiff_t operator-(const storage_proxy_iterator<ILhs> &lhs, const storage_proxy_iterator<IRhs> &rhs) ENTT_NOEXCEPT {
|
|
|
return lhs.it - rhs.it;
|
|
|
}
|
|
|
|