From a5d718f79aa802f3e245bf96afee8d91e88d818c Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Sun, 25 Jun 2017 15:36:32 -0400 Subject: [PATCH] Fix error in Mac build uncovered by the previous --- src/BlockFile.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/BlockFile.h b/src/BlockFile.h index 1425754d0..8a400bb41 100644 --- a/src/BlockFile.h +++ b/src/BlockFile.h @@ -194,6 +194,7 @@ class PROFILE_DLL_API BlockFile /* not final, abstract */ { ReadLock &operator= (const ReadLock &that) { *((ReadLockBase*)this) = that; + return *this; } #endif ReadLock(ReadLock&&that) : ReadLockBase{ std::move(that) } {}