Compare commits
29 Commits
77c2296320
...
concurrent
| Author | SHA1 | Date | |
|---|---|---|---|
| a29302e2e6 | |||
| a5e5c289db | |||
| 79db8ea408 | |||
| 4e3baadd70 | |||
| b72ef08892 | |||
| 8bb52f59fe | |||
| 97a0bad71d | |||
| 2c9279248d | |||
| 61e16d4f1b | |||
| 86439ae05c | |||
| 9d708342ca | |||
| 8ab6a4716f | |||
| fdee11cbc0 | |||
| 57c19a2e8c | |||
| e45464f480 | |||
| db37f8b963 | |||
| 0ffcedb5ef | |||
| cb739f61b0 | |||
| 2857dee71c | |||
| a8625e2333 | |||
| 7395146bfb | |||
| 880bda410a | |||
| d9cb8da8ae | |||
| af8c3a44ff | |||
| bed8f9e2f0 | |||
| 961dd32c69 | |||
| cab5d7334a | |||
| c5b61c619c | |||
| 54954c9ae7 |
2
pip
2
pip
Submodule pip updated: 1045b274fb...5df43a45f2
@@ -199,7 +199,7 @@ public:
|
||||
PIHash<Key, T> & clear() {pih_content.clear(); return *this;}
|
||||
|
||||
void swap(PIHash<Key, T> & other) {
|
||||
pih_content.swap(other.pih_content);
|
||||
piSwapBinary<PIVector<PIVector<HashEntry> > >(pih_content, other.pih_content);
|
||||
}
|
||||
|
||||
PIHash<Key, T> & insert(const Key & key, const T & value) {
|
||||
|
||||
@@ -128,6 +128,7 @@ inline float randomu() {return float(random()) / RAND_MAX;}
|
||||
|
||||
inline const QSizeF operator *(const QSizeF & f, const QSizeF & s) {return QSizeF(f.width() * s.width(), f.height() * s.height());}
|
||||
#ifndef PIP_VERSION
|
||||
template<typename Type> inline void piSwap(Type & f, Type & s) {Type t = f; f = s; s = t;}
|
||||
template<typename Type> inline Type piMin(const Type & f, const Type & s) {return (f > s) ? s : f;}
|
||||
template<typename Type> inline Type piMin(const Type & f, const Type & s, const Type & t) {return (f < s && f < t) ? f : ((s < t) ? s : t);}
|
||||
template<typename Type> inline Type piMax(const Type & f, const Type & s) {return (f < s) ? s : f;}
|
||||
|
||||
@@ -127,6 +127,7 @@ inline float randomu() {return float(random()) / RAND_MAX;}
|
||||
|
||||
inline const QSizeF operator *(const QSizeF & f, const QSizeF & s) {return QSizeF(f.width() * s.width(), f.height() * s.height());}
|
||||
#ifndef PIP_VERSION
|
||||
template<typename Type> inline void piSwap(Type & f, Type & s) {Type t = f; f = s; s = t;}
|
||||
template<typename Type> inline Type piMin(const Type & f, const Type & s) {return (f > s) ? s : f;}
|
||||
template<typename Type> inline Type piMin(const Type & f, const Type & s, const Type & t) {return (f < s && f < t) ? f : ((s < t) ? s : t);}
|
||||
template<typename Type> inline Type piMax(const Type & f, const Type & s) {return (f < s) ? s : f;}
|
||||
|
||||
Reference in New Issue
Block a user