mirror of
https://github.com/greg7mdp/parallel-hashmap.git
synced 2026-08-29 08:34:39 +08:00
missing typename
This commit is contained in:
@@ -137,5 +137,5 @@ int main()
|
||||
checksum += ++map[static_cast<int>(rng())];
|
||||
}
|
||||
}
|
||||
printf("%d\n", checksum);
|
||||
printf("%zu\n", checksum);
|
||||
}
|
||||
|
||||
Vendored
+3
-3
@@ -4625,9 +4625,9 @@ class Lockable : public Mutex, public LockableBase<Mutex>
|
||||
{
|
||||
public:
|
||||
using Base = LockableBase<Mutex>;
|
||||
using SharedLock = Base::ScopedLock;
|
||||
using UniqueLock = Base::ScopedLock;
|
||||
using UpgradeToUnique = Base::DoNothing; // we already have unique ownership
|
||||
using SharedLock = typename Base::ScopedLock;
|
||||
using UniqueLock = typename Base::ScopedLock;
|
||||
using UpgradeToUnique = typename Base::DoNothing; // we already have unique ownership
|
||||
};
|
||||
|
||||
#if defined(BOOST_THREAD_SHARED_MUTEX_HPP) && defined(BOOST_THREAD_LOCK_TYPES_HPP)
|
||||
|
||||
Reference in New Issue
Block a user