fix issue when compiling with old gcc

This commit is contained in:
greg
2019-04-07 19:51:51 -04:00
parent 47d67d861a
commit 26df7982b1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -4580,8 +4580,8 @@ public:
DoNothing(Mutex&, phmap::adopt_lock_t) noexcept {}
DoNothing(Mutex&, phmap::defer_lock_t) noexcept {}
DoNothing(Mutex&, phmap::try_to_lock_t) {}
template<class T> explicit DoNothing(T&) {}
template<class T> explicit DoNothing(T&&) {}
DoNothing& operator=(const DoNothing&) { return *this; }
DoNothing& operator=(DoNothing&&) { return *this; }
void swap(DoNothing &) {}
bool owns_lock() const noexcept { return true; }