mirror of
https://github.com/clearlinux/folly.git
synced 2026-09-01 02:34:43 +00:00
Move Singleton out of folly/experimental into folly/
Test Plan: contbuild Reviewed By: chip@fb.com Subscribers: wormhole-diffs@, trunkagent, hphp-diffs@, jan, simpkins, configerator-diffs@, fbcode-common-diffs@, chaoyc, bill, search-fbcode-diffs@, agallagher, nli, marcelo, ckwalsh, mcduff, hitesh, mshneer, unicorn-diffs@, vighnesh, fugalh, andreib, bmatheny, tw-eng@, tanmoyc, zhuohuang, rvm4, antonl, acampi, alikhtarov, hdoshi, rsethi, panin, folly-diffs@, lins, kennyyu, hannesr, jsedgwick, dominik, yfeldblum, songhao, raghavpi, labrams, lyang, chalfant, #preselection, macsyz, nimishshah FB internal diff: D2012267 Tasks: 5676394 Signature: t1:2012267:1430334667:eaad0262b35ffbfae86df5bdb45bf057ac62c51b
This commit is contained in:
+3
-3
@@ -105,8 +105,6 @@ nobase_follyinclude_HEADERS = \
|
||||
experimental/JSONSchema.h \
|
||||
experimental/Select64.h \
|
||||
experimental/SharedMutex.h \
|
||||
experimental/Singleton.h \
|
||||
experimental/Singleton-inl.h \
|
||||
experimental/StringKeyedCommon.h \
|
||||
experimental/StringKeyedUnorderedMap.h \
|
||||
experimental/StringKeyedUnorderedSet.h \
|
||||
@@ -227,6 +225,8 @@ nobase_follyinclude_HEADERS = \
|
||||
Range.h \
|
||||
RWSpinLock.h \
|
||||
ScopeGuard.h \
|
||||
Singleton.h \
|
||||
Singleton-inl.h \
|
||||
SmallLocks.h \
|
||||
small_vector.h \
|
||||
SocketAddress.h \
|
||||
@@ -377,6 +377,7 @@ libfolly_la_SOURCES = \
|
||||
Random.cpp \
|
||||
SafeAssert.cpp \
|
||||
SocketAddress.cpp \
|
||||
Singleton.cpp \
|
||||
SpookyHashV1.cpp \
|
||||
SpookyHashV2.cpp \
|
||||
stats/Instantiations.cpp \
|
||||
@@ -395,7 +396,6 @@ libfolly_la_SOURCES = \
|
||||
experimental/JSONSchema.cpp \
|
||||
experimental/Select64.cpp \
|
||||
experimental/SharedMutex.cpp \
|
||||
experimental/Singleton.cpp \
|
||||
experimental/TestUtil.cpp \
|
||||
wangle/acceptor/Acceptor.cpp \
|
||||
wangle/acceptor/ConnectionManager.cpp \
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <folly/experimental/Singleton.h>
|
||||
#include <folly/Singleton.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
@@ -514,4 +514,4 @@ class Singleton {
|
||||
|
||||
}
|
||||
|
||||
#include <folly/experimental/Singleton-inl.h>
|
||||
#include <folly/Singleton-inl.h>
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
#include <folly/experimental/Singleton.h>
|
||||
#include <folly/Singleton.h>
|
||||
#include <folly/experimental/symbolizer/Symbolizer.h>
|
||||
|
||||
namespace folly {
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <folly/experimental/SingletonVault_c.h>
|
||||
#include <folly/experimental/Singleton.h>
|
||||
#include <folly/SingletonVault_c.h>
|
||||
#include <folly/Singleton.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -22,7 +22,7 @@
|
||||
#include <folly/Memory.h>
|
||||
#include <folly/Optional.h>
|
||||
#include <folly/String.h>
|
||||
#include <folly/experimental/Singleton.h>
|
||||
#include <folly/Singleton.h>
|
||||
#include <folly/json.h>
|
||||
|
||||
namespace folly {
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
#include "ThreadWheelTimekeeper.h"
|
||||
|
||||
#include <folly/experimental/Singleton.h>
|
||||
#include <folly/Singleton.h>
|
||||
#include <folly/futures/Future.h>
|
||||
#include <future>
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
#include <thread>
|
||||
|
||||
#include <folly/experimental/Singleton.h>
|
||||
#include <folly/Singleton.h>
|
||||
|
||||
#include <folly/Benchmark.h>
|
||||
|
||||
+2
-2
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <folly/experimental/Singleton.h>
|
||||
#include <folly/experimental/SingletonVault_c.h>
|
||||
#include <folly/Singleton.h>
|
||||
#include <folly/SingletonVault_c.h>
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <folly/experimental/Singleton.h>
|
||||
#include <folly/Singleton.h>
|
||||
#include <folly/wangle/concurrent/IOExecutor.h>
|
||||
#include <folly/wangle/concurrent/IOThreadPoolExecutor.h>
|
||||
#include <folly/futures/InlineExecutor.h>
|
||||
|
||||
Reference in New Issue
Block a user