Mercurial > dedupe
diff ThreadSafeLookup.hpp @ 34:fda70a362ed5
Remove whitespace.
| author | Tom Fredrik Blenning Klaussen <bfg@blenning.no> |
|---|---|
| date | Thu, 06 Sep 2012 21:33:24 +0200 |
| parents | 06166d6c083b |
| children | 60c1e0a2cacf |
line wrap: on
line diff
--- a/ThreadSafeLookup.hpp Thu Sep 06 21:32:33 2012 +0200 +++ b/ThreadSafeLookup.hpp Thu Sep 06 21:33:24 2012 +0200 @@ -50,7 +50,7 @@ typename Locking<isLocking>::Locker_t lock(&masterLock); typename map_t::iterator c = map.find(key); bool exists = (c != map.end()); - + if (exists) { c.value() = value; }
