|
Line 0
Link Here
|
|
|
1 |
--- src/hashtable_test.cc.orig 2012-02-22 21:49:42.000000000 +0100 |
| 2 |
+++ src/hashtable_test.cc 2015-02-28 13:31:07.532995000 +0100 |
| 3 |
@@ -898,7 +898,7 @@ |
| 4 |
// Now swap back, using the free-function swap |
| 5 |
// NOTE: MSVC seems to have trouble with this free swap, not quite |
| 6 |
// sure why. I've given up trying to fix it though. |
| 7 |
-#ifdef _MSC_VER |
| 8 |
+#if defined(_MSC_VER) || defined(__clang__) |
| 9 |
other_ht.swap(this->ht_); |
| 10 |
#else |
| 11 |
swap(this->ht_, other_ht); |