]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1147] Add space
authorFrancis Dupont <fdupont@isc.org>
Thu, 21 May 2020 13:03:13 +0000 (15:03 +0200)
committerFrancis Dupont <fdupont@isc.org>
Tue, 26 May 2020 09:51:57 +0000 (11:51 +0200)
src/lib/util/readwrite_mutex.h

index a76c86fb6938624be895c24db7400e1209826155..f8766d5af42f2cd9e52c3681b9ca8723ca7d8a99 100644 (file)
@@ -57,7 +57,7 @@ public:
         gate1_.wait(lk, [=]() { return (!writeEntered()); });
         state_ |= WRITE_ENTERED;
         // Wait until there are no more readers.
-        gate2_.wait(lk, [=]() { return (readers() == 0);});
+        gate2_.wait(lk, [=]() { return (readers() == 0); });
     }
 
     /// @brief Unlock write.