Skip to content

Commit

Permalink
Let Futex import base-class ctors
Browse files Browse the repository at this point in the history
Summary:
[Folly] Let `Futex` import base-class ctors.

Rather than needing to define ctors and inherit `boost::noncopyable`.

Reviewed By: WillerZ

Differential Revision: D6674054

fbshipit-source-id: 59e0a4815682b227346954fe47c6eda49e3ad62f
  • Loading branch information
yfeldblum authored and facebook-github-bot committed Jan 10, 2018
1 parent 096f308 commit 569434b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,10 @@ cpp_library(
deps = [
"//folly:thread_local",
],
external_deps = ["glog"],
external_deps = [
"boost",
"glog",
],
)

cpp_unittest(
Expand Down
2 changes: 2 additions & 0 deletions util/Stats.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@
#include <mutex>
#include <thread>

#include <boost/noncopyable.hpp>

#include <folly/ThreadLocal.h>

#include "glog/logging.h"
Expand Down

0 comments on commit 569434b

Please sign in to comment.