Commit 83ed1c6
cut unnecessary ctor args to folly::ThreadLocal
Summary: `folly::ThreadLocal` accepts a constructor function to construct instances, but it is not necessary when it does the same thing as the default constructor function: make and return a new instance of the type as `[] { return new T(); }`.
Reviewed By: Gownta
Differential Revision: D55784505
fbshipit-source-id: 5239cf12a73894e323f084f9848ca541d7bba6a61 parent cf311dd commit 83ed1c6
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
0 commit comments