Fix compile error on MacOS.

Summary:
In a release build, a member was not being accessed. This
member was only being accessed in a debug build. We now add an accessor
function for this member and the buid succeeds.

Test Plan: build release/unity/debug on linux/mac

Reviewers: sdong, igor

Reviewed By: igor

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D34035
This commit is contained in:
Venkatesh Radhakrishnan 2015-02-24 16:24:53 -08:00
parent ace3d85068
commit 4ade89962d

View File

@ -43,6 +43,7 @@ class MILock {
XFUNC_TEST("managed_xftest_release", "managed_unlock", managed_unlock1,
xf_manage_release, mi_);
}
ManagedIterator* GetManagedIterator() { return mi_; }
private:
std::mutex* const mu_;