Commit c5651a00 authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook GitHub Bot

mark the SingletonThreadLocal check function as kept

Differential Revision: D27859994

fbshipit-source-id: afde93e853a08a3d65f3d817cd2bbad337bfbfce
parent 1bc16f19
......@@ -28,11 +28,12 @@
#include <folly/String.h>
#include <folly/Synchronized.h>
#include <folly/experimental/io/FsUtil.h>
#include <folly/lang/Keep.h>
#include <folly/portability/GTest.h>
using namespace folly;
extern "C" int* check() {
extern "C" FOLLY_KEEP int* check() {
return &SingletonThreadLocal<int>::get();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment