Skip to content

Commit

Permalink
Fix compile error on MacOS.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rven1 committed Feb 25, 2015
1 parent ace3d85 commit 4ade899
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions db/managed_iterator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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_;
Expand Down

0 comments on commit 4ade899

Please sign in to comment.