QContiguousCache: add noexcept
Change-Id: I069842fe705d2e73222ffb095792d7e3e518cfd9 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
92479ed9b7
commit
a87adcaa8d
@ -107,9 +107,9 @@ public:
|
||||
#endif
|
||||
|
||||
QContiguousCache<T> &operator=(const QContiguousCache<T> &other);
|
||||
inline QContiguousCache<T> &operator=(QContiguousCache<T> &&other)
|
||||
inline QContiguousCache<T> &operator=(QContiguousCache<T> &&other) noexcept
|
||||
{ qSwap(d, other.d); return *this; }
|
||||
inline void swap(QContiguousCache<T> &other) { qSwap(d, other.d); }
|
||||
inline void swap(QContiguousCache<T> &other) noexcept { qSwap(d, other.d); }
|
||||
bool operator==(const QContiguousCache<T> &other) const;
|
||||
inline bool operator!=(const QContiguousCache<T> &other) const { return !(*this == other); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user